commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Common CLi Usage
Date Thu, 29 May 2008 20:55:15 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John,

John O'Sullivan wrote:
| If I can change the date/time format to a format where it is only one
| string
| what will be java syntax for definign the option within my application

Sorry to poke my nose into what looks like a rather long-running
discussion, but it occurs to me that calling your program from the
command-line with quotes around the entire timestamp (both date and
time) would make the entire parameter appear as one -- with or without
the space. Something like:

| myApp -p [<name> | <Time> | <Boolean>] -a XXX -d xxx -f XXX

myApp -p '2008-05-29 16:54:25'

Does that help you with your "space" problem?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkg/GDMACgkQ9CaO5/Lv0PAtuwCeKz11MAM2KultB/c8664q1Mwm
rzYAoLQrQs60OzKEP4MFAIOI+bUlGEIl
=8QoN
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message