mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 01:22:00 +00:00
Go for xCAT-neutral terminology
This commit is contained in:
parent
c647dec069
commit
28f4571c8e
@ -38,8 +38,8 @@ argparser.add_option('-t', '--tile', action='store_true', default=False,
|
||||
help='Tile console windows in the terminal')
|
||||
argparser.add_option('-l', '--log', action='store_true', default=False,
|
||||
help='Enter log replay mode instead of showing a live console')
|
||||
argparser.add_option('-w','--wcons', action='store_true', default=False,
|
||||
help='Enter wcons mode, opening xterm windows for every node')
|
||||
argparser.add_option('-w','--windowed', action='store_true', default=False,
|
||||
help='Open terminal windows for each node')
|
||||
(options, args) = argparser.parse_args()
|
||||
if len(args) != 1:
|
||||
argparser.print_help()
|
||||
@ -54,7 +54,7 @@ if options.log:
|
||||
logreader.replay_to_console(logname)
|
||||
sys.exit(0)
|
||||
#added functionality for wcons
|
||||
if options.wcons:
|
||||
if options.windowed:
|
||||
nodes = []
|
||||
sess = client.Command()
|
||||
for res in sess.read('/noderange/{0}/nodes/'.format(args[0])):
|
||||
|
@ -27,9 +27,9 @@ a new session.
|
||||
If in collective mode, this only makes sense to use on the current collective
|
||||
manager at this time.
|
||||
|
||||
* `-w`, `--wcons`:
|
||||
* `-w`, `--windowed`:
|
||||
Openes separate xterm windows for each console in the node range provided. This
|
||||
works for xterm only, for now. The terminal windows opened are not tiled.
|
||||
works for xterm only.
|
||||
|
||||
## ESCAPE SEQUENCE COMMANDS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user