[GRASS-dev] [GRASS GIS] #1778: Typing in g.region without parameters does not open a g.region window

GRASS GIS trac at osgeo.org
Wed Sep 11 14:20:58 PDT 2013

#1778: Typing in g.region without parameters does not open a g.region window
 Reporter:  pvanbosgeo                  |       Owner:  grass-dev@…              
     Type:  defect                      |      Status:  new                      
 Priority:  normal                      |   Milestone:  7.0.0                    
Component:  Default                     |     Version:  svn-trunk                
 Keywords:  g.region, r.colors, r.mask  |    Platform:  Linux                    
      Cpu:  x86-64                      |  

Comment(by hamish):

 No, I don't think --ui should be added to the help page. It should only
 needed in special circumstances (like debugging or having the main GUI
 progmatically force open a dialog), much like --script and --interface-
 description aren't interesting in the main help pages even though

 I'm still highly confused about the need for any change since everything
 seemed to be working very smoothly in GRASS 6. For example d.erase if
 called alone would do its job without a GUI, you could add "color=black"
 or whatever extra option on the command line if needed, or use --ui to get
 a GUI module in the rare cases that you wanted one or add '--ui' to the
 menus.xml file to force one if called from there.

 Other modules in G6 that are special cases where no command line arguments
 are needed (although possible) test argc or $# to decide how to act. Since
 it's only a few of them special parser handling/support isn't needed, the
 module programmer can make that decision on a one-off basis.


Ticket URL: <https://trac.osgeo.org/grass/ticket/1778#comment:27>
GRASS GIS <http://grass.osgeo.org>

More information about the grass-dev mailing list