Skip to content

Commit

Permalink
display_server: tidy some command line args
Browse files Browse the repository at this point in the history
  • Loading branch information
nzjrs committed Sep 22, 2015
1 parent b090403 commit 4dd4d4c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/display_server.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -269,14 +269,14 @@ cdef class MyNode:
parser.add_argument('--mode',
choices=['virtual_world','cubemap','overview','geometry','geometry_texture','vr_display'],
default='vr_display')
parser.add_argument('--observer_radius', default=0.01, type=float) # 1cm if units are meters
parser.add_argument('--observer-radius', default=0.01, type=float) # 1cm if units are meters
parser.add_argument('--pbuffer', default=False, action='store_true')
parser.add_argument('--two_pass', default=False, action='store_true')
parser.add_argument('--cubemap-resolution', default=512, type=int, choices=(256,512,1024,2048))
parser.add_argument('--two-pass', default=False, action='store_true')
parser.add_argument('--cubemap-resolution', default=512, type=int, choices=(512,256,1024,2048))
parser.add_argument('--throttle', default=False, action='store_true')
parser.add_argument('--slave', default=False, action='store_true',
help='In a multiprocess VR setup, this is a slave')
parser.add_argument('--show_geom_coords', default=False, action='store_true')
parser.add_argument('--show-geom-coords', default=False, action='store_true')
parser.add_argument('--config', type=str,
help='JSON configuration file describing the setup. '\
'If specified configuration is taken from here, otherwise config is taken from '\
Expand Down

0 comments on commit 4dd4d4c

Please sign in to comment.