Skip to content

Commit

Permalink
Unify options
Browse files Browse the repository at this point in the history
  • Loading branch information
cbenhagen committed Mar 2, 2019
1 parent 197c4ef commit f4205ef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ pip install git+https://github.com/ottomatic-io/pycine.git

### Changing the playback and timecode framerates
```
pfs_meta set --playback_fps 60/1.001 --timecode_fps 60/1.001 A001C001_190302_16001.cine
pfs_meta set --playback-fps 60/1.001 --timecode_fps 60/1.001 A001C001_190302_16001.cine
```

You can also set metadata for multiple clips at once:
```
pfs_meta set --playback_fps 24/1.001 --timecode_fps 24/1.001 *.cine
pfs_meta set --playback-fps 24/1.001 --timecode_fps 24/1.001 *.cine
```

## Help
Expand Down Expand Up @@ -86,8 +86,8 @@ $ pfs_raw --help
Usage: pfs_raw [OPTIONS] CINE_FILE [OUT_PATH]
Options:
--file_format [.png|.jpg|.tif]
--start_frame INTEGER
--file-format [.png|.jpg|.tif]
--start-frame INTEGER
--count INTEGER
--version Show the version and exit.
--help Show this message and exit.
Expand Down
4 changes: 2 additions & 2 deletions pycine/cli/pfs_raw.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ def save(rgb_image, outfile):


@click.command()
@click.option("--file_format", default=".png", type=click.Choice([".png", ".jpg", ".tif"]))
@click.option("--start_frame", default=1, type=click.INT)
@click.option("--file-format", default=".png", type=click.Choice([".png", ".jpg", ".tif"]))
@click.option("--start-frame", default=1, type=click.INT)
@click.option("--count", default=1, type=click.INT)
@click.argument("cine_file", type=click.Path(exists=True, readable=True, dir_okay=False, file_okay=True))
@click.argument("out_path", required=False, type=click.Path(exists=True, dir_okay=True, file_okay=False))
Expand Down

0 comments on commit f4205ef

Please sign in to comment.