Skip to content

Commit

Permalink
cosmetics: Group arguments together
Browse files Browse the repository at this point in the history
  • Loading branch information
kodawah committed Feb 24, 2017
1 parent 428ac88 commit a7ecf23
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions spatialmedia/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,17 @@ def main():
help=
"injects spatial media metadata into the first file specified (.mp4 or "
".mov) and saves the result to the second file specified")

video_group = parser.add_argument_group("Spherical Video")
video_group.add_argument("-s",
"--stereo",
action="store",
dest="stereo_mode",
metavar="STEREO-MODE",
choices=["none", "top-bottom", "left-right"],
default="none",
help="stereo mode (none | top-bottom | left-right)")
video_group.add_argument(
"-s",
"--stereo",
action="store",
dest="stereo_mode",
metavar="STEREO-MODE",
choices=["none", "top-bottom", "left-right"],
default="none",
help="stereo mode (none | top-bottom | left-right)")
video_group.add_argument(
"-c",
"--crop",
Expand All @@ -67,6 +69,7 @@ def main():
" where w=CroppedAreaImageWidthPixels h=CroppedAreaImageHeightPixels "
"f_w=FullPanoWidthPixels f_h=FullPanoHeightPixels "
"x=CroppedAreaLeftPixels y=CroppedAreaTopPixels")

audio_group = parser.add_argument_group("Spatial Audio")
audio_group.add_argument(
"-a",
Expand Down

0 comments on commit a7ecf23

Please sign in to comment.