summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--src/main.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index cb8933f..e53ed69 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
* src/main.c (init_screen): print the display string for
debugging.
+ (ratpoison_opts): fix -c option by adding a : after it.
* src/manage.c (current_screen): search for the current screen
using rp_current_screen.
diff --git a/src/main.c b/src/main.c
index 9571ec6..33a9597 100644
--- a/src/main.c
+++ b/src/main.c
@@ -98,7 +98,7 @@ static struct option ratpoison_longopts[] =
{"screen", required_argument, 0, 's'},
{0, 0, 0, 0} };
-static char ratpoison_opts[] = "hvcd:s:";
+static char ratpoison_opts[] = "hvc:d:s:";
void
fatal (const char *msg)