mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 00:01:16 +00:00
Drop unnecessary .index(1)
This commit is contained in:
parent
a29686a341
commit
437f7dcf8b
1 changed files with 0 additions and 2 deletions
|
@ -204,7 +204,6 @@ pub fn build_app<'a>() -> Command<'a> {
|
||||||
Command::new(CMD_DOCS)
|
Command::new(CMD_DOCS)
|
||||||
.about("Generate documentation for Roc modules (Work In Progress)")
|
.about("Generate documentation for Roc modules (Work In Progress)")
|
||||||
.arg(Arg::new(DIRECTORY_OR_FILES)
|
.arg(Arg::new(DIRECTORY_OR_FILES)
|
||||||
.index(1)
|
|
||||||
.multiple_values(true)
|
.multiple_values(true)
|
||||||
.required(false)
|
.required(false)
|
||||||
.help("The directory or files to build documentation for")
|
.help("The directory or files to build documentation for")
|
||||||
|
@ -230,7 +229,6 @@ pub fn build_app<'a>() -> Command<'a> {
|
||||||
.about("Launch the Roc editor (Work In Progress)")
|
.about("Launch the Roc editor (Work In Progress)")
|
||||||
.arg(
|
.arg(
|
||||||
Arg::new(DIRECTORY_OR_FILES)
|
Arg::new(DIRECTORY_OR_FILES)
|
||||||
.index(1)
|
|
||||||
.multiple_values(true)
|
.multiple_values(true)
|
||||||
.required(false)
|
.required(false)
|
||||||
.help("(optional) The directory or files to open on launch."),
|
.help("(optional) The directory or files to open on launch."),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue