aboutsummaryrefslogtreecommitdiffstats
path: root/src/coopgammad.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-07-17 23:29:06 +0200
committerMattias Andrée <maandree@kth.se>2016-07-17 23:29:06 +0200
commit53c3b41e264101b94d67e8666094fa984176558e (patch)
tree19e2c227fa48385ee2be2ce067e58321d0dfdbf8 /src/coopgammad.c
parentm (diff)
downloadcoopgammad-53c3b41e264101b94d67e8666094fa984176558e.tar.gz
coopgammad-53c3b41e264101b94d67e8666094fa984176558e.tar.bz2
coopgammad-53c3b41e264101b94d67e8666094fa984176558e.tar.xz
Use ‘- ’ instead of ‘-#’
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--src/coopgammad.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/coopgammad.c b/src/coopgammad.c
index d88a950..cd30dbd 100644
--- a/src/coopgammad.c
+++ b/src/coopgammad.c
@@ -730,7 +730,7 @@ static char* reexecute(int preserve)
destroy(0);
- execlp(argv0_real ? argv0_real : argv0, argv0, "-#", statefile, preserve ? "-p" : NULL, NULL);
+ execlp(argv0_real ? argv0_real : argv0, argv0, "- ", statefile, preserve ? "-p" : NULL, NULL);
saved_errno = errno;
free(argv0_real), argv0_real = NULL;
errno = saved_errno;
@@ -831,7 +831,7 @@ int main(int argc, char** argv)
case 'f': foreground = 1; break;
case 'k': keep_stderr = 1; break;
case 'q': query = 1 + !!query; break;
- case '#': /* Internal, do not document */
+ case ' ': /* Internal, do not document */
statefile = EARGF(usage());
break;
default: