summaryrefslogtreecommitdiff
path: root/cgps.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-12-06 10:04:44 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-12-06 10:04:44 +0000
commitabe421b87537b09265c6b4a38804c2ac1c14f498 (patch)
treeb8d6ea9593a4eb6888b6f64ebc0b5a78dec6d08f /cgps.c
parenta270780c09e33337669f7c7f39d9733c6be01d4c (diff)
downloadgpsd-abe421b87537b09265c6b4a38804c2ac1c14f498.tar.gz
Make use of -D uniform for enabling debug/progress messages, and document it.
Diffstat (limited to 'cgps.c')
-rw-r--r--cgps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cgps.c b/cgps.c
index f77b600c..49ff0dc8 100644
--- a/cgps.c
+++ b/cgps.c
@@ -685,9 +685,9 @@ int main(int argc, char *argv[])
int data;
/* Process the options. Print help if requested. */
- while ((option = getopt(argc, argv, "hVl:smd:")) != -1) {
+ while ((option = getopt(argc, argv, "hVl:smD:")) != -1) {
switch (option) {
- case 'd':
+ case 'D':
debug = atoi(optarg);
#ifdef CLIENTDEBUG_ENABLE
gps_enable_debug(debug, stderr);