Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing spaces in help texts #32

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions garmin_uploader/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def main():
parser = argparse.ArgumentParser(
formatter_class=argparse.RawDescriptionHelpFormatter,
description='A script to upload .TCX, .GPX, and .FIT'
'files to the Garmin Connect web site.',
' files to the Garmin Connect web site.',
epilog=open(os.path.join(base_dir, 'help.txt')).read(),
)

Expand All @@ -21,21 +21,21 @@ def main():
type=str,
nargs='+',
help='Path and name of file(s) to upload, list file name, or directory'
'name containing fitness files.')
' name containing fitness files.')
parser.add_argument(
'-a',
'--name',
dest='activity_name',
type=str,
help='Sets the activity name for the upload file. This option is'
'ignored if multiple upload files are given.')
' ignored if multiple upload files are given.')
parser.add_argument(
'-t',
'--type',
dest='activity_type',
type=str,
help='Sets activity type for ALL files in filename list, except files'
'described inside a csv list file.')
' described inside a csv list file.')
parser.add_argument(
'-u',
'--username',
Expand All @@ -55,8 +55,8 @@ def main():
type=int,
default=2,
choices=[1, 2, 3, 4, 5],
help='Verbose - select level of verbosity. 1=DEBUG(most verbose),'
' 2=INFO, 3=WARNING, 4=ERROR, 5= CRITICAL(least verbose).'
help='Verbose - select level of verbosity. 1=DEBUG (most verbose),'
' 2=INFO, 3=WARNING, 4=ERROR, 5=CRITICAL (least verbose).'
' [default=2]')

# Run workflow with these options
Expand Down