Remove option to disable dockapp mode (no longer supported)
authorHugo Villeneuve <hugo@hugovil.com>
Sat, 20 Jul 2013 14:59:29 +0000 (10:59 -0400)
committerHugo Villeneuve <hugo@hugovil.com>
Sat, 27 Jul 2013 03:46:15 +0000 (23:46 -0400)
doc/hvclock.man
src/hvclock.h
src/options.c

index a6a4b6d..c20ef4e 100644 (file)
@@ -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
index 074bd58..21ad20e 100644 (file)
@@ -24,7 +24,6 @@
 struct hvclock_t {
        int debug;
        int show_seconds;
-       int dockapp_mode;
 };
 
 /* Exported variables */
index 0b305e7..b7b33ae 100644 (file)
@@ -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;