aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJeremy Benoist <jbenoist@20minutes.fr>2017-06-01 15:44:36 +0200
committerJeremy Benoist <jbenoist@20minutes.fr>2017-06-01 15:44:36 +0200
commitf5924e954730efdb7b9fadf23c0b73b3f5a0a434 (patch)
tree5ef5fe007e6ee3d846744ee2352c2ceff485e012
parent701d3066fbac504beb25ab7a13546ad155e65488 (diff)
downloadwallabag-f5924e954730efdb7b9fadf23c0b73b3f5a0a434.tar.gz
wallabag-f5924e954730efdb7b9fadf23c0b73b3f5a0a434.tar.zst
wallabag-f5924e954730efdb7b9fadf23c0b73b3f5a0a434.zip
Fix option attributes
-rw-r--r--src/Wallabag/ImportBundle/Command/ImportCommand.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Wallabag/ImportBundle/Command/ImportCommand.php b/src/Wallabag/ImportBundle/Command/ImportCommand.php
index 0829a1da..5f1ab0af 100644
--- a/src/Wallabag/ImportBundle/Command/ImportCommand.php
+++ b/src/Wallabag/ImportBundle/Command/ImportCommand.php
@@ -18,9 +18,9 @@ class ImportCommand extends ContainerAwareCommand
18 ->setDescription('Import entries from a JSON export') 18 ->setDescription('Import entries from a JSON export')
19 ->addArgument('username', InputArgument::REQUIRED, 'User to populate') 19 ->addArgument('username', InputArgument::REQUIRED, 'User to populate')
20 ->addArgument('filepath', InputArgument::REQUIRED, 'Path to the JSON file') 20 ->addArgument('filepath', InputArgument::REQUIRED, 'Path to the JSON file')
21 ->addOption('importer', null, InputArgument::OPTIONAL, 'The importer to use: v1, v2, instapaper, pinboard, readability, firefox or chrome', 'v1') 21 ->addOption('importer', null, InputOption::VALUE_OPTIONAL, 'The importer to use: v1, v2, instapaper, pinboard, readability, firefox or chrome', 'v1')
22 ->addOption('markAsRead', null, InputArgument::OPTIONAL, 'Mark all entries as read', false) 22 ->addOption('markAsRead', null, InputOption::VALUE_OPTIONAL, 'Mark all entries as read', false)
23 ->addOption('useUserId', null, InputArgument::OPTIONAL, 'Use user id instead of username to find account', false) 23 ->addOption('useUserId', null, InputOption::VALUE_NONE, 'Use user id instead of username to find account')
24 ->addOption('disableContentUpdate', null, InputOption::VALUE_NONE, 'Disable fetching updated content from URL') 24 ->addOption('disableContentUpdate', null, InputOption::VALUE_NONE, 'Disable fetching updated content from URL')
25 ; 25 ;
26 } 26 }