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
Anders Blomdell
rust-hashtoc
Commits
7306847f
Commit
7306847f
authored
Apr 20, 2018
by
Anders Blomdell
Browse files
Add --zero-terminated as long option
parent
e9c4a0c3
Changes
2
Show whitespace changes
Inline
Side-by-side
Cargo.toml
View file @
7306847f
[package]
[package]
name
=
"hashtoc"
name
=
"hashtoc"
version
=
"0.1.
1
"
version
=
"0.1.
2
"
authors
=
[
"Anders Blomdell <anders.blomdell@control.lth.se>"
]
authors
=
[
"Anders Blomdell <anders.blomdell@control.lth.se>"
]
build
=
"build.rs"
build
=
"build.rs"
links
=
"libhash.a,libssl"
links
=
"libhash.a,libssl"
...
...
src/main.rs
View file @
7306847f
...
@@ -604,6 +604,7 @@ fn main() {
...
@@ -604,6 +604,7 @@ fn main() {
.help
(
"Sets the level of verbosity"
))
.help
(
"Sets the level of verbosity"
))
.arg
(
Arg
::
with_name
(
"zero-terminated"
)
.arg
(
Arg
::
with_name
(
"zero-terminated"
)
.short
(
"z"
)
.short
(
"z"
)
.long
(
"zero-terminated"
)
.help
(
"End lines with NULL character"
))
.help
(
"End lines with NULL character"
))
.arg
(
Arg
::
with_name
(
"max_age"
)
.arg
(
Arg
::
with_name
(
"max_age"
)
.short
(
"m"
)
.short
(
"m"
)
...
...
Write
Preview
Markdown
is supported
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