summaryrefslogtreecommitdiff
path: root/cli/commands/api
diff options
context:
space:
mode:
Diffstat (limited to 'cli/commands/api')
-rw-r--r--cli/commands/api/category.py2
-rw-r--r--cli/commands/api/search.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/cli/commands/api/category.py b/cli/commands/api/category.py
index 5b688f0..b5d1b84 100644
--- a/cli/commands/api/category.py
+++ b/cli/commands/api/category.py
@@ -8,7 +8,7 @@ import simplejson as json
from app.thesaurus.api import Thesaurus
@click.command()
-@click.option('-c', '--id', 'opt_cat_id', required=True,
+@click.option('-i', '--id', 'opt_cat_id', required=True,
help='Category ID')
@click.pass_context
def cli(ctx, opt_cat_id):
diff --git a/cli/commands/api/search.py b/cli/commands/api/search.py
index 3c0dc0e..cdff053 100644
--- a/cli/commands/api/search.py
+++ b/cli/commands/api/search.py
@@ -8,7 +8,7 @@ import simplejson as json
from app.thesaurus.api import Thesaurus
@click.command()
-@click.option('-w', '--word', 'opt_word', required=True,
+@click.option('-i', '--word', 'opt_word', required=True,
help='Word to search')
@click.pass_context
def cli(ctx, opt_word):