[OpenAFS-devel] patch for src/ptserver/pt_util.c

Ted Anderson TedAnderson@mindspring.com
Wed, 29 Jan 2003 07:49:22 -0500


It is odd that that libcmd does not seem to have a way to display the 
longer help output for commands w/o subcommands.  Perhaps an easy fix 
for this would be to have PrintSyntax() call PrintFlagHelp() if 
noOpcodes is true just before it returns.  Or maybe it would be better 
do it after calling PrintSyntax() when handling the -help parameter in 
cmd_Dispatch().  In any case, this seems like it would be a good, and 
harmless, improvement.

Ted Anderson