Skip to content

Commit

Permalink
fix: branch alias for 'distribution add' and 'task add' commands
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii-bodnar committed Jan 29, 2025
1 parent d904da2 commit d20a319
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class DistributionAddSubcommand extends ActCommandDistribution {
@CommandLine.Option(names = {"--bundle-id"}, paramLabel = "...", descriptionKey = "crowdin.distribution.add.bundle-id", order = -2)
protected List<Integer> bundleIds;

@CommandLine.Option(names = {"--b", "--branch"}, paramLabel = "...", descriptionKey = "branch", order = -2)
@CommandLine.Option(names = {"-b", "--branch"}, paramLabel = "...", descriptionKey = "branch", order = -2)
protected String branch;

@CommandLine.Option(names = {"--plain"}, descriptionKey = "crowdin.list.usage.plain")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class TaskAddSubcommand extends ActCommandTask {
@CommandLine.Option(names = {"--file"}, paramLabel = "...", descriptionKey = "crowdin.task.add.file", order = -2)
protected List<String> files;

@CommandLine.Option(names = {"--b", "--branch"}, paramLabel = "...", descriptionKey = "branch", order = -2)
@CommandLine.Option(names = {"-b", "--branch"}, paramLabel = "...", descriptionKey = "branch", order = -2)
protected String branch;

@CommandLine.Option(names = {"--workflow-step"}, paramLabel = "...", descriptionKey = "crowdin.task.add.workflow-step", order = -2)
Expand Down

0 comments on commit d20a319

Please sign in to comment.