atom feed57 messages in net.java.dev.glassfish.adminRe: Content of Usage statements for a...
FromSent OnAttachments
Dixie PineOct 6, 2009 4:58 pm.pdf, .pdf, .pdf
Kedar MhaswadeOct 14, 2009 5:14 pm 
Bill ShannonOct 14, 2009 8:30 pm 
Dixie PineOct 16, 2009 5:37 pm.pdf, .pdf, .pdf
Bill ShannonOct 19, 2009 6:16 pm 
Dixie PineOct 20, 2009 10:27 am 
Bill ShannonOct 20, 2009 10:42 am 
Dixie PineOct 20, 2009 2:06 pm.pdf
Sankar NeelakandanOct 20, 2009 2:18 pm 
Bill ShannonOct 20, 2009 2:26 pm 
kedarOct 20, 2009 2:52 pm 
Dixie PineOct 21, 2009 3:52 pm.pdf
Dixie PineOct 21, 2009 3:54 pm.pdf
Sankar NeelakandanOct 21, 2009 6:38 pm 
Paul DaviesOct 21, 2009 6:58 pm 
Bill ShannonOct 21, 2009 7:33 pm 
Nandini EktareOct 21, 2009 9:13 pm 
Dixie PineOct 22, 2009 12:00 pm.pdf
Dixie PineOct 22, 2009 12:01 pm 
Dixie PineOct 22, 2009 12:38 pm 
Sankar NeelakandanOct 22, 2009 12:48 pm 
Nandini EktareOct 22, 2009 12:53 pm 
Dixie PineOct 22, 2009 2:31 pm 
Nandini EktareOct 22, 2009 2:50 pm 
Bill ShannonOct 22, 2009 2:51 pm 
Dixie PineOct 22, 2009 3:53 pm 
Dixie PineOct 22, 2009 3:57 pm 
Bill ShannonOct 22, 2009 8:53 pm 
Bill ShannonOct 22, 2009 9:00 pm 
Nandini EktareOct 22, 2009 9:48 pm 
Lloyd ChambersOct 23, 2009 10:07 am 
Lloyd ChambersOct 23, 2009 10:11 am 
Paul DaviesOct 23, 2009 1:14 pm 
Nandini EktareOct 23, 2009 1:18 pm 
Lloyd ChambersOct 23, 2009 3:13 pm 
Dixie PineOct 28, 2009 5:49 pm.pdf
Sankar NeelakandanOct 28, 2009 5:53 pm 
Bill ShannonOct 29, 2009 10:07 pm 
Dixie PineOct 30, 2009 8:37 am 
Nandini EktareOct 30, 2009 8:46 am 
Sankar NeelakandanOct 30, 2009 9:39 am 
Bill ShannonOct 30, 2009 11:28 am 
Lloyd ChambersOct 30, 2009 11:42 am 
Bill ShannonOct 30, 2009 1:07 pm 
Dixie PineOct 30, 2009 1:32 pm 
Sankar NeelakandanOct 30, 2009 2:01 pm 
Bill ShannonOct 30, 2009 2:21 pm 
Bill ShannonOct 30, 2009 2:35 pm 
Nandini EktareOct 30, 2009 2:54 pm 
Sankar NeelakandanOct 30, 2009 3:01 pm 
Dixie PineOct 30, 2009 4:15 pm 
Bill ShannonNov 2, 2009 5:01 pm 
Bill ShannonNov 2, 2009 5:03 pm 
Sankar NeelakandanNov 2, 2009 5:30 pm 
June...@Sun.COMNov 3, 2009 10:15 am 
Paul DaviesNov 3, 2009 12:33 pm 
Bill ShannonNov 3, 2009 12:51 pm 
Subject:Re: Content of Usage statements for asadmin man pages
From:Bill Shannon (bill@sun.com)
Date:Oct 30, 2009 11:28:48 am
List:net.java.dev.glassfish.admin

I'm not wedded to the colon, but I think it's sufficiently clear and concise. I also considered equals and space. I think " is " is unnecessarily verbose.

And in any event, the entire phrase is now in LocalStrings.properties, so it's trivial to change it if we want. :-)

Sankar Neelakandan wrote on 10/30/09 09:39:

I don't know my thinking is correct, but do we really need to put a ":" after the string "default" ?. Since we use : as a separator in other many of the commands I don't know this might become a issue. If we have this level of verbose why don't we say something like

<adminport(default is 4848)>

If everybody thinks that ":" is okay, then I am fine with it too :-)

thanks Sankar

Following up on this discussion we had last week...

Here's what I've done:

Usage: asadmin [asadmin-utility-options] create-domain [--adminport <adminport(default:4848)>] [--instanceport <instanceport(default:8080)>] [--portbase <portbase>] [--profile <profile>] [--template <template>] [--domaindir <domaindir>] [--savemasterpassword[=<savemasterpassword(default:false)>]] [--domainproperties <domainproperties>] [--keytooloptions <keytooloptions>] [--savelogin[=<savelogin(default:false)>]] [--checkports[=<checkports(default:true)>]] [--nopassword[=<nopassword(default:false)>]] [-?|--help[=<help(default:false)>]] domain_name

Notice that I also fixed it to insert line breaks at reasonable points.

It's a bit on the verbose side, but is it usable?

I considered the alternative of listing the default boolean value first, but since that was inconsistent with the other defaults it seemed like it would be confusing. For example:

[--nopassword[=false|true]]

I don't expect the man pages to include the defaults in the Synopsis.

Comments?