summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-07-07 22:58:04 +0000
committerMiles Bader <miles@gnu.org>1995-07-07 22:58:04 +0000
commit0eeb7404fe1ecec06415656c3387caf7a51ca77d (patch)
treec47142094716a382d94ad15521521b0d070cd230 /utils
parentdfbfa900732864631db50f0a9cf63d80bf60d1b0 (diff)
(SHORT_OPTIONS): Remove '?' as getopt usurps it.
(options, main): Use '&' instead of '?' to mean help.
Diffstat (limited to 'utils')
-rw-r--r--utils/settrans.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/settrans.c b/utils/settrans.c
index a6e37049..2ca1a485 100644
--- a/utils/settrans.c
+++ b/utils/settrans.c
@@ -60,7 +60,7 @@ usage(status)
exit(status);
}
-#define SHORT_OPTIONS "apcfkLt?"
+#define SHORT_OPTIONS "apcfkLt"
static struct option options[] =
{
@@ -70,7 +70,7 @@ static struct option options[] =
{"create", no_argument, 0, 'c'},
{"force", no_argument, 0, 'f'},
{"dereference", no_argument, 0, 'L'},
- {"help", no_argument, 0, '?'},
+ {"help", no_argument, 0, '&'},
{0, 0, 0, 0}
};
@@ -123,7 +123,7 @@ main(int argc, char *argv[])
case 'k': keep_active = 1; break;
case 'c': create = 1; break;
case 'L': deref = 1; break;
- case '?': usage(0);
+ case '&': usage(0);
default: usage(-1);
}