mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 08:11:12 +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)
|
||||
.about("Generate documentation for Roc modules (Work In Progress)")
|
||||
.arg(Arg::new(DIRECTORY_OR_FILES)
|
||||
.index(1)
|
||||
.multiple_values(true)
|
||||
.required(false)
|
||||
.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)")
|
||||
.arg(
|
||||
Arg::new(DIRECTORY_OR_FILES)
|
||||
.index(1)
|
||||
.multiple_values(true)
|
||||
.required(false)
|
||||
.help("(optional) The directory or files to open on launch."),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue