Rev 3804 | Rev 3881 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3804 | Rev 3808 | ||
---|---|---|---|
Line 255... | Line 255... | ||
255 | if ((len(sys.argv) >= 3) and (sys.argv[2] == 'default')): |
255 | if ((len(sys.argv) >= 3) and (sys.argv[2] == 'default')): |
256 | if (check_choices(defaults, ask_names)): |
256 | if (check_choices(defaults, ask_names)): |
257 | create_output(OUTPUT, defaults, ask_names) |
257 | create_output(OUTPUT, defaults, ask_names) |
258 | return 0 |
258 | return 0 |
259 | 259 | ||
- | 260 | # Check mode: only check defaults |
|
- | 261 | if ((len(sys.argv) >= 3) and (sys.argv[2] == 'check')): |
|
- | 262 | if (check_choices(defaults, ask_names)): |
|
- | 263 | return 0 |
|
- | 264 | return 1 |
|
- | 265 | ||
260 | screen = xtui.screen_init() |
266 | screen = xtui.screen_init() |
261 | try: |
267 | try: |
262 | selname = None |
268 | selname = None |
263 | while True: |
269 | while True: |
264 | 270 |