Skip to content

Commit

Permalink
Fix the options parsing for the Install command
Browse files Browse the repository at this point in the history
Oops.
  • Loading branch information
argon committed Dec 31, 2015
1 parent ed2f7b8 commit 50c47b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mas-cli/Commands/Install.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ struct InstallOptions: OptionsType {

static func evaluate(m: CommandMode) -> Result<InstallOptions, CommandantError<MASError>> {
return create
<*> m <| Option(key: "", defaultValue: nil, usage: "the app ID to install")
<*> m <| Argument(usage: "the app ID to install")
}
}

0 comments on commit 50c47b1

Please sign in to comment.