Ticket #203 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

pasuspender interprets all arguments

Reported by: AdamK Owned by: lennart
Milestone: Component: clients
Keywords: Cc:

Description

I'd like to run FlightGear? with pasuspender, and custom arguments. Unfortunately pasuspeder interprets all arguments. Example:

$ pasuspender fgfs --help

I would assume that in that case pasuspender will call fgfs with --help argument. But no, pasuspender interprets --help argument, and displays own help.

Change History

Changed 4 years ago by jbglaw

As the man page suggests:

Does "pasuspender -- fgfs --help" work? You're probably calling it the wrong way...

Changed 4 years ago by AdamK

Yes, it helps, but I didn't find it in man. Anyway, the way I wanted it to call is used by many apps, so maybe it could be added.

Changed 4 years ago by lennart

AdamK: Uh, using "--" is well defined behaviour on Unix (or at least on GNU). It's the way I expect it to work.

I'll add a comment to the man page about this. But I see no reason to depart from the normal GNU behaviour.

Also note that the current man page explicitly shows the "--" in the synopsis.

Changed 4 years ago by lennart

  • component changed from daemon to clients

Changed 4 years ago by lennart

  • status changed from new to closed
  • resolution set to fixed

(In [2109]) explicitly recommend the usage of -- in the pasuspender command line, Closes #203

Note: See TracTickets for help on using tickets.