]> sourceware.org Git - lvm2.git/commit
I had another look at the argument processing code:
authorJoe Thornber <thornber@redhat.com>
Mon, 17 Dec 2001 10:08:27 +0000 (10:08 +0000)
committerJoe Thornber <thornber@redhat.com>
Mon, 17 Dec 2001 10:08:27 +0000 (10:08 +0000)
commit8a6d1dd408a0dd059a8551cc4a6ed25c758db898
treeace2f57c59b528df639b8ed777bb0b670e1a5a07
parentdf520f126531482afa749423a6e42424c058a7e1
I had another look at the argument processing code:

o You must list long args with no short option (eg. --version) at the
  front of the args.h file.

o If an argument has no short option, set the short option in args.h to '\0'

o The index into the 'the_args' var is now stored as the option value
  for getopt, iff there is no short opt.
tools/args.h
tools/lvm.c
This page took 0.036465 seconds and 5 git commands to generate.