Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
redox-os
ion
Commits
bfa4bfc5
Commit
bfa4bfc5
authored
Dec 20, 2019
by
AdminXVII
Committed by
Michael Aaron Murphy
Jan 12, 2020
Browse files
fix: tests with structopt
parent
04922058
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main.rs
View file @
bfa4bfc5
...
...
@@ -43,7 +43,7 @@ impl FromStr for KeyBindingsWrapper {
/// Ion is a commandline shell created to be a faster and easier to use
/// alternative to the currently available shells. It is not POSIX compliant.
#[cfg_attr(feature
=
"advanced_arg_parsing"
,
derive(StructOpt))]
#[cfg_attr(feature
=
"advanced_arg_parsing"
,
structopt(name
=
"
I
on"
))]
#[cfg_attr(feature
=
"advanced_arg_parsing"
,
structopt(name
=
"
i
on"
))]
struct
CommandLineArgs
{
/// Shortcut layout. Valid options: "vi", "emacs"
#[cfg_attr(feature
=
"advanced_arg_parsing"
,
structopt(short
=
"-o"
))]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment