This is the mail archive of the frysk@sourceware.org mailing list for the frysk project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: info -help expectations?


Phil Muldoon wrote:
I have the info command more or less working so:

(fhpd) info
auxv - Print process auxiliary
debuginfo - Displays debuginfo install paths of a process.
maps - Print process maps
regs - print registers
Hmm; should this print an error (missing command) or the list, and -help print the list?

Since there's an info command what were <<regs vector>> et.al. can probably be made <<info vector>> et.al.

and


info <subcommand>
and completion?

works as it should. But MultiLevelCommand interprets:



(fhpd) info -help Error: Unknown command: -help
nice edge case; does the converse <<help info>> work? Like "run", the class probably needs an explicit check for -help; option parsing would be overkill.

Andrew


As a command. There is a help function, but that seems never to be called.


Regards

Phil


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]