Browse Source

Fixed printed help

Fredrik Svantesson 6 years ago
parent
commit
8307431ac7
1 changed files with 7 additions and 7 deletions
  1. 7
    7
      src/light.c

+ 7
- 7
src/light.c View File

129
 static void _light_print_usage()
129
 static void _light_print_usage()
130
 {
130
 {
131
     printf("Usage:\n"
131
     printf("Usage:\n"
132
-        "  light [OPTIONS] <COMMAND> [VALUE]\n"
132
+        "  light [OPTIONS] [VALUE]\n"
133
         "\n"
133
         "\n"
134
         "Commands:\n"
134
         "Commands:\n"
135
         "  -H, -h      Show this help and exit\n"
135
         "  -H, -h      Show this help and exit\n"
136
         "  -V          Show program version and exit\n"
136
         "  -V          Show program version and exit\n"
137
         "  -L          List available devices\n"
137
         "  -L          List available devices\n"
138
         
138
         
139
-        "  -A <value>  Increase brightness by value\n"
140
-        "  -U <value>  Decrease brightness by value\n" 
141
-        "  -S <value>  Set brightness to value\n"
139
+        "  -A          Increase brightness by value\n"
140
+        "  -U          Decrease brightness by value\n" 
141
+        "  -S          Set brightness to value\n"
142
         "  -G          Get brightness\n"
142
         "  -G          Get brightness\n"
143
-        "  -N <value>  Set minimum brightness to value\n"
143
+        "  -N          Set minimum brightness to value\n"
144
         "  -P          Get minimum brightness\n"
144
         "  -P          Get minimum brightness\n"
145
         "  -I          Save the current brightness\n"
145
         "  -I          Save the current brightness\n"
146
         "  -O          Restore the previously saved brightness\n"
146
         "  -O          Restore the previously saved brightness\n"
149
         "\n"
149
         "\n"
150
         "Options:\n"
150
         "Options:\n"
151
         "  -r          Interpret input and output values in raw mode\n"
151
         "  -r          Interpret input and output values in raw mode\n"
152
-        "  -s <value>  Specify device target path to use, use -L to list available\n"
153
-        "  -v <value>  Specify the verbosity level (default 0)\n"
152
+        "  -s          Specify device target path to use, use -L to list available\n"
153
+        "  -v          Specify the verbosity level (default 0)\n"
154
         "                 0: Values only\n"
154
         "                 0: Values only\n"
155
         "                 1: Values, Errors.\n"
155
         "                 1: Values, Errors.\n"
156
         "                 2: Values, Errors, Warnings.\n"
156
         "                 2: Values, Errors, Warnings.\n"