diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-12-06 10:04:44 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-12-06 10:04:44 +0000 |
commit | abe421b87537b09265c6b4a38804c2ac1c14f498 (patch) | |
tree | b8d6ea9593a4eb6888b6f64ebc0b5a78dec6d08f /cgps.c | |
parent | a270780c09e33337669f7c7f39d9733c6be01d4c (diff) | |
download | gpsd-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |