summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-09-08 18:24:38 +0000
committerMiles Bader <miles@gnu.org>1996-09-08 18:24:38 +0000
commitecf4f150a979e3f87135d59f7207925bbe73a4e9 (patch)
tree5ec53ba18f3bb8ff024807041f0f3c5b1506fd25
parentd4f0afdb6e8f6980da63bc3bb094b51434d8a101 (diff)
(options, parse_opt): Change short option names around.
-rw-r--r--libstore/argp.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libstore/argp.c b/libstore/argp.c
index c375a069..39654cd3 100644
--- a/libstore/argp.c
+++ b/libstore/argp.c
@@ -29,9 +29,9 @@
#include "store.h"
static const struct argp_option options[] = {
- {"device", 'D', 0, 0, "DEVICE is a mach device, not a file"},
- {"interleave",'i', "BLOCKS", 0, "Interleave in runs of length BLOCKS"},
- {"layer", 'l', 0, 0, "Layer multiple devices for redundancy"},
+ {"device", 'd', 0, 0, "DEVICE is a mach device, not a file"},
+ {"interleave",'I', "BLOCKS", 0, "Interleave in runs of length BLOCKS"},
+ {"layer", 'L', 0, 0, "Layer multiple devices for redundancy"},
{0}
};
@@ -149,10 +149,10 @@ parse_opt (int opt, char *arg, struct argp_state *state)
switch (opt)
{
- case 'm':
+ case 'd':
parsed->machdev = 1; break;
- case 'i':
+ case 'I':
if (parsed->layer)
PERR (EINVAL, "--layer and --interleave are exclusive");
if (parsed->interleave)
@@ -164,7 +164,7 @@ parse_opt (int opt, char *arg, struct argp_state *state)
PERR (EINVAL, "%s: Bad value for --interleave", arg);
break;
- case 'l':
+ case 'L':
#if 1
argp_failure (state, 5, 0, "--layer not implemented");
return EINVAL;