Skip to content

Commit

Permalink
Fix option handling for the timing-output option to cf-agent
Browse files Browse the repository at this point in the history
  • Loading branch information
jooooooon committed Aug 13, 2014
1 parent 258fa1d commit d23fee8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cf-agent/cf-agent.c
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ static const struct option OPTIONS[] =
{"verbose", no_argument, 0, 'v'},
{"version", no_argument, 0, 'V'},
{"log-output", no_argument, 0, 'l'},
{"timing-output", no_argument, 0, 'l'},
{"timing-output", no_argument, 0, 't'},
{"color", optional_argument, 0, 'C'},
{"no-extensions", no_argument, 0, 'E'},
{NULL, 0, 0, '\0'}
Expand All @@ -203,6 +203,7 @@ static const char *const HINTS[] =
"Output verbose information about the behaviour of the agent",
"Output the version of the software",
"Use line-based log output format on console",
"Output timing information on console when in verbose mode",
"Enable colorized output. Possible values: 'always', 'auto', 'never'. If option is used, the default value is 'auto'",
"Disable extension loading (used while upgrading)",
NULL
Expand Down

0 comments on commit d23fee8

Please sign in to comment.