소스 검색

g.extension: more guisections

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@47190 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 14 년 전
부모
커밋
5f76d8f240
1개의 변경된 파일6개의 추가작업 그리고 3개의 파일을 삭제
  1. 6 3
      scripts/g.extension/g.extension.py

+ 6 - 3
scripts/g.extension/g.extension.py

@@ -30,13 +30,13 @@
 #% type: string
 #% key_desc: name
 #% description: Name of extension to install/remove
-#% required: no
+#% required: yes
 #%end
 #%option
 #% key: operation
 #% type: string
 #% description: Operation to be performed
-#% required: no
+#% required: yes
 #% options: add,remove
 #% answer: add
 #%end
@@ -54,23 +54,26 @@
 #% key_desc: path
 #% description: Prefix where to install extension (ignored when flag -s is given)
 #% answer: $GRASS_ADDON_PATH
-#% required: yes
+#% required: no
 #%end
 
 #%flag
 #% key: l
 #% description: List available modules in the GRASS Addons SVN repository
 #% guisection: Print
+#% suppress_required: yes
 #%end
 #%flag
 #% key: f
 #% description: List available modules in the GRASS Addons SVN repository including modules description
 #% guisection: Print
+#% suppress_required: yes
 #%end
 #%flag
 #% key: g
 #% description: List available modules in the GRASS Addons SVN repository (shell script style)
 #% guisection: Print
+#% suppress_required: yes
 #%end
 #%flag
 #% key: s