Skip to content

Commit 96a7ca6

Browse files
committed
The language flag should accept a value
1 parent bae062e commit 96a7ca6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,13 +143,13 @@ FLAGS:
143143
-i, --disable_issues Disables issues for this repo. Defaults to false.
144144
-w, --disable_wiki Disables wikis for this repo. Defaults to false.
145145
-h, --help Prints help information
146-
--language Give bitbucket a hint about the programming language.
147146
-p, --private Sets the repository to private.
148147
-V, --version Prints version information
149148
150149
OPTIONS:
151150
-d, --description <description> A short description of the repository.
152151
--fork_policy <fork_policy> Changes the allowed forking method for this repo. [possible values: allow_forks, no_public_forks, no_forks]
152+
--language <language> Give bitbucket a hint about the programming language.
153153
-n, --name <name> The name of the new repository.
154154
--scm <scm> Control underlying source control method. [possible values: git, hg]
155155
-t, --token <token> A personal access token. Alternatively read from BITBUCKET_REPO_TOKEN env variable. [env: BITBUCKET_REPO_TOKEN=<YOUR_TOKEN>]

src/provider/bitbucket.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ pub fn subcommand() -> App<'static, 'static> {
123123
Arg::with_name("language")
124124
.long("language")
125125
.help("Give bitbucket a hint about the programming language.")
126+
.takes_value(true)
126127
)
127128
}
128129

0 commit comments

Comments
 (0)