From: Hugo Villeneuve Date: Sat, 20 Jul 2013 14:59:29 +0000 (-0400) Subject: Remove option to disable dockapp mode (no longer supported) X-Git-Tag: v1.1.0~10 X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=288156a6024c67f254530eb0b4c7cd36e4660a38;p=dockapps%2Fhvclock.git Remove option to disable dockapp mode (no longer supported) --- diff --git a/doc/hvclock.man b/doc/hvclock.man index a6a4b6d..c20ef4e 100644 --- a/doc/hvclock.man +++ b/doc/hvclock.man @@ -24,10 +24,6 @@ display debugging messages. \fB\-h\fR display usage and exit -.TP -\fB\-n\fR -disable dockapp mode - .TP \fB\-s\fR display seconds hand diff --git a/src/hvclock.h b/src/hvclock.h index 074bd58..21ad20e 100644 --- a/src/hvclock.h +++ b/src/hvclock.h @@ -24,7 +24,6 @@ struct hvclock_t { int debug; int show_seconds; - int dockapp_mode; }; /* Exported variables */ diff --git a/src/options.c b/src/options.c index 0b305e7..b7b33ae 100644 --- a/src/options.c +++ b/src/options.c @@ -46,7 +46,6 @@ static void DisplayUsage(void) printf (" -d display debugging messages.\n"); printf(" -h display this help and exit\n"); - printf(" -n disable dockapp mode\n"); printf(" -s display seconds hand\n"); printf(" -version display version information"); printf(" and exit\n"); @@ -86,7 +85,6 @@ void ParseCommandLineOptions(int argc, char *argv[]) /* Default values. */ hvclock_infos.debug = false; hvclock_infos.show_seconds = false; - hvclock_infos.dockapp_mode = true; for (i = 1; i < argc; i++) { token = argv[i]; @@ -100,9 +98,6 @@ void ParseCommandLineOptions(int argc, char *argv[]) case 'h': DisplayUsage(); exit(EXIT_SUCCESS); - case 'n': - hvclock_infos.dockapp_mode = false; - break; case 's': hvclock_infos.show_seconds = true; break;