Fix handling of ^C in the CLI scripts
authorIustin Pop <iustin@google.com>
Thu, 3 Feb 2011 10:02:20 +0000 (11:02 +0100)
committerIustin Pop <iustin@google.com>
Thu, 3 Feb 2011 12:42:25 +0000 (13:42 +0100)
commit8a53b55f3a83f3bdf3b231f90e766fc15ec51895
treef9cb17f604fee7faccbcf7574810f6c61664e3f1
parentee84143728cf0b4c7b10ab2c17fc2b1955efdfe7
Fix handling of ^C in the CLI scripts

This adds a message and nice handling of ^C, especially useful for
``gnt-job watch``.

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
lib/cli.py