[OpenAFS-devel] Short comment or no?

Jeff Blaine jblaine@kickflop.net
Wed, 08 Jun 2011 15:08:10 -0400


Personally, I'd prefer to know what the hell -n was if
I end up in here 3 years from now, and whether I can
reuse it for some new '-nsomething' option.

Yes or no?

bucoord/main.c

     ts = cmd_CreateSyntax("volrestore", bc_VolRestoreCmd, NULL,
                           "restore volume");
...
     cmd_AddParm(ts, "-dryrun", CMD_FLAG, CMD_OPTIONAL,
                 "list what would be done, don't do it");
     /* Historical note: -n is now hidden, use -dryrun */
     cmd_AddParm(ts, "-n", CMD_FLAG, CMD_OPTIONAL|CMD_HIDDEN, "");