change short option for overwrite to be a single letter

This commit is contained in:
johannes 2018-02-05 13:57:41 +01:00 committed by Beat Küng
parent 5357d680d2
commit 26f9e56014
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ Runs process_logdata_ekf.py on the .ulg files in the supplied directory. ulog fi
parser = argparse.ArgumentParser(description='Analyse the estimator_status and ekf2_innovation message data for the' parser = argparse.ArgumentParser(description='Analyse the estimator_status and ekf2_innovation message data for the'
' .ulg files in the specified directory') ' .ulg files in the specified directory')
parser.add_argument("directory_path") parser.add_argument("directory_path")
parser.add_argument('-ow', '--overwrite', action='store_true', parser.add_argument('-o', '--overwrite', action='store_true',
help='Whether to overwrite an already analysed file. If a file with .pdf extension exists for a .ulg' help='Whether to overwrite an already analysed file. If a file with .pdf extension exists for a .ulg'
'file, the log file will be skipped from analysis unless this flag has been set.') 'file, the log file will be skipped from analysis unless this flag has been set.')