-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Be more specific for -l
CLI arguments
#9149
Conversation
It looks like @Tbaut signed our Contributor License Agreement. 👍 Many thanks, Parity Technologies CLA Bot |
parity/cli/mod.rs
Outdated
@@ -800,7 +800,7 @@ usage! { | |||
|
|||
ARG arg_logging: (Option<String>) = None, or |c: &Config| c.misc.as_ref()?.logging.clone(), | |||
"-l, --logging=[LOGGING]", | |||
"Specify the logging level. Must conform to the same format as RUST_LOG.", | |||
"Specify the general logging level (error, warn, info, debug or trace). It can also be set for a specific module. Example: '-l sync=debug, rpc=trace', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing "
in the end, and extra space after general
. ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed, that was obviously written too quickly :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
parity/cli/mod.rs
Outdated
@@ -800,7 +800,7 @@ usage! { | |||
|
|||
ARG arg_logging: (Option<String>) = None, or |c: &Config| c.misc.as_ref()?.logging.clone(), | |||
"-l, --logging=[LOGGING]", | |||
"Specify the logging level. Must conform to the same format as RUST_LOG.", | |||
"Specify the general logging level (error, warn, info, debug or trace). It can also be set for a specific module. Example: '-l sync=debug, rpc=trace'", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
, example:
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙄 🤣
@@ -800,7 +800,7 @@ usage! { | |||
|
|||
ARG arg_logging: (Option<String>) = None, or |c: &Config| c.misc.as_ref()?.logging.clone(), | |||
"-l, --logging=[LOGGING]", | |||
"Specify the logging level. Must conform to the same format as RUST_LOG.", | |||
"Specify the general logging level (error, warn, info, debug or trace). It can also be set for a specific module, example: '-l sync=debug, rpc=trace'", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it really work with space between the options?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
parity -l sync=debug, rpc=trace
error: Found argument 'rpc=trace' which wasn't expected, or isn't valid in this context
USAGE:
parity [SUBCOMMAND]
For more information try --help
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Damn I tested the example but didn't copy paste it so didn't catch the space.
Stop adding F-Labels 🤣 |
No description provided.