bugGPSD - Bugs: bug #37381, gpspipe - incorrect error message...

 
 

bug #37381: gpspipe - incorrect error message returned if using -d option without -o

Submitted by:  None
Submitted on:  Tue 18 Sep 2012 07:46:15 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 18 Sep 2012 07:46:15 AM UTC, original submission:

If using gpspipe with -d option and not specifying an output path using -o, gpspipe complains that option -f is needed:

gpspipe: use of '-d' requires '-f'.

However, gpspipe -h and the gpspipe man page do not mention an option -f:

#gpspipe -h
Usage: gpspipe [OPTIONS] [server[:port[:device]]]

-d Run as a daemon.
-o [file] Write output to file.
-h Show this help.
-r Dump raw NMEA.
-R Dump super-raw mode (GPS binary).
-w Dump gpsd native data.
-l Sleep for ten seconds before connecting to gpsd.
-t Time stamp the data.
-T [format] set the timestamp format (strftime(3)-like; implies '-t')
-s [serial dev] emulate a 4800bps NMEA GPS on serial port (use with '-r').
-n [count] exit after count packets.
-v Print a little spinner.
-p Include profiling info in the JSON.
-V Print version and exit.

You must specify one, or more, of -r, -R, or -w
You must use -o if you use -d.

The last line correctly states an output, option -o is required, not -f.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by esr (Updated the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 22 Nov 2013 01:47:33 PM UTCesrOpen/ClosedOpen=>Closed
    Tue 18 Sep 2012 10:47:28 PM UTCesrStatusNone=>Fixed

    Back to the top


    Powered by Savane 3.1-cleanup1