diff options
author | Phil Wise <phil@advancedtelematic.com> | 2017-11-16 11:00:22 +0100 |
---|---|---|
committer | Phil Wise <phil@advancedtelematic.com> | 2017-11-16 11:00:22 +0100 |
commit | 0b1fd4b3c456a64e40a7ff1125f005c0b72eafd8 (patch) | |
tree | 5232bdd58de0954358a1e5b07a0005de598fced0 /scripts | |
parent | f64cbdb8deadacbece998636b7d3bc83e7ac2ec9 (diff) | |
download | meta-updater-0b1fd4b3c456a64e40a7ff1125f005c0b72eafd8.tar.gz |
Remove unused import, break long lines
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/run-qemu-ota | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/run-qemu-ota b/scripts/run-qemu-ota index 5f9cebe..8e25197 100755 --- a/scripts/run-qemu-ota +++ b/scripts/run-qemu-ota | |||
@@ -2,7 +2,7 @@ | |||
2 | 2 | ||
3 | from argparse import ArgumentParser | 3 | from argparse import ArgumentParser |
4 | from subprocess import Popen | 4 | from subprocess import Popen |
5 | from os.path import exists, join | 5 | from os.path import exists |
6 | import sys | 6 | import sys |
7 | from qemucommand import QemuCommand | 7 | from qemucommand import QemuCommand |
8 | 8 | ||
@@ -25,7 +25,10 @@ def main(): | |||
25 | parser.add_argument('--no-gui', help='Disable GUI', action='store_true') | 25 | parser.add_argument('--no-gui', help='Disable GUI', action='store_true') |
26 | parser.add_argument('--gdb', help='Export gdbserver port 2159 from the image', action='store_true') | 26 | parser.add_argument('--gdb', help='Export gdbserver port 2159 from the image', action='store_true') |
27 | parser.add_argument('--pcap', default=None, help='Dump all network traffic') | 27 | parser.add_argument('--pcap', default=None, help='Dump all network traffic') |
28 | parser.add_argument('-o', '--overlay', type=str, metavar='file.cow', help='Use an overlay storage image file. Will be created if it does not exist. This option lets you have a persistent image without modifying the underlying image file, permitting multiple different persistent machines.') | 28 | parser.add_argument('-o', '--overlay', type=str, metavar='file.cow', |
29 | help='Use an overlay storage image file. Will be created if it does not exist. ' + | ||
30 | 'This option lets you have a persistent image without modifying the underlying image ' + | ||
31 | 'file, permitting multiple different persistent machines.') | ||
29 | parser.add_argument('-n', '--dry-run', help='Print qemu command line rather then run it', action='store_true') | 32 | parser.add_argument('-n', '--dry-run', help='Print qemu command line rather then run it', action='store_true') |
30 | args = parser.parse_args() | 33 | args = parser.parse_args() |
31 | try: | 34 | try: |