[doc] Review the help of app_install arguments

This commit is contained in:
Jérôme Lebleu 2014-07-25 18:32:37 +02:00
parent 9ec3e29edb
commit 601c280a7a
2 changed files with 5 additions and 5 deletions

View file

@ -373,7 +373,7 @@ app:
- '^[a-z0-9_]+$' - '^[a-z0-9_]+$'
- pattern_username - pattern_username
### app_install() TODO: Write help ### app_install()
install: install:
action_help: Install apps action_help: Install apps
api: POST /apps api: POST /apps
@ -383,7 +383,7 @@ app:
lock: false lock: false
arguments: arguments:
app: app:
help: App to install help: Name, local path or git URL of the app to install
-l: -l:
full: --label full: --label
help: Custom name for the app help: Custom name for the app

6
app.py
View file

@ -379,9 +379,9 @@ def app_install(auth, app, label=None, args=None):
Install apps Install apps
Keyword argument: Keyword argument:
label app -- Name, local path or git URL of the app to install
app -- App to install label -- Custom name for the app
args -- Serialize arguments of installation args -- Serialize arguments for app installation
""" """
from yunohost.hook import hook_add, hook_remove, hook_exec from yunohost.hook import hook_add, hook_remove, hook_exec