Cscott has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/234049

Change subject: Remove the `--api` option alias for `--parsoid-api`.
......................................................................

Remove the `--api` option alias for `--parsoid-api`.

Commander doesn't actually support having multiple long options aliased
together.  It only allows one short and one long option name per item.

Change-Id: Id9c809f1c92fb2eb53aa948f9bbf6b6cf6986292
---
M bin/mw-ocg-bundler
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Collection/OfflineContentGenerator/bundler
 refs/changes/49/234049/1

diff --git a/bin/mw-ocg-bundler b/bin/mw-ocg-bundler
index 253efeb..447656a 100755
--- a/bin/mw-ocg-bundler
+++ b/bin/mw-ocg-bundler
@@ -23,7 +23,7 @@
                        'Which wiki prefix to use to resolve the title (Parsoid 
v1 API) [enwiki]', null)
        .option('-h, --domain <domain name>',
                        'Wiki hostname to use to resolve the title (Parsoid v2 
API, RESTbase API) [en.wikipedia.org]', null)
-       .option('-a, --parsoid-api, --api <url>',
+       .option('-a, --parsoid-api <url>',
                        'Parsoid API root', 
'http://parsoid-lb.eqiad.wikimedia.org/')
        .option('--restbase-api <url>',
                        'RESTbase API root 
[http://rest.wikimedia.org/<hostname>/v1/]')

-- 
To view, visit https://gerrit.wikimedia.org/r/234049
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id9c809f1c92fb2eb53aa948f9bbf6b6cf6986292
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Collection/OfflineContentGenerator/bundler
Gerrit-Branch: master
Gerrit-Owner: Cscott <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to