OpenSolaris

Printable Version Enter a New Search
Bug ID 6573754
Synopsis timex error message when you forget a command is cryptic
State 10-Fix Delivered (Fix available in build)
Category:Subcategory utility:accounting
Keywords oss-bite-size | oss-sponsor
Sponsor Eric Saxe
Submitter avinashtjoshi
Responsible Engineer Eric Saxe
Reported Against
Duplicate Of
Introduced In
Commit to Fix snv_84
Fixed In snv_84
Release Fixed solaris_nevada(snv_84)
Related Bugs
Submit Date 26-June-2007
Last Update Date 27-February-2008
Description
When you run timex but fail to specify a program to run, the
message is a bit cryptic:

$ timex
Missing command

Whereas if you specify a bad option:

$ timex -Q
timex: illegal option -- Q
Usage: timex [-s][-o][-p[-fhkmrt]] cmd

So perhaps this should be altered to:

$ timex
timex: Missing command
Usage: timex [-s][-o][-p][-fhkmrt]] cmd
Work Around
N/A
Comments
N/A