From 97c17acdbd70db53d44d2516109a1303eecbeeec Mon Sep 17 00:00:00 2001 From: Guillaume Chazarain Date: Sun, 20 Jan 2008 23:57:46 +0100 Subject: [PATCH] Simplify help generation --- iotop.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iotop.py b/iotop.py index 27943e3..5650d39 100755 --- a/iotop.py +++ b/iotop.py @@ -576,13 +576,13 @@ def run_iotop(win, options): VERSION = '0.2' -USAGE = 'Usage: %s [OPTIONS]' % sys.argv[0] + ''' +USAGE = '''%s [OPTIONS] DISK READ and DISK WRITE are the block I/O bandwidth used during the sampling period. SWAPIN and IO are the percentages of time the thread spent respectively while swapping in and waiting on I/O more generally. Controls: left and right arrows to show the sorting column, r to invert the -sorting order, q to quit, any other key to force a refresh''' +sorting order, q to quit, any other key to force a refresh''' % sys.argv[0] def main(): parser = optparse.OptionParser(usage=USAGE, version='iotop ' + VERSION) -- 2.11.4.GIT