lpschedule-generator

libreplanet schedule generator - ricketyspace.net/lpschedule-generator
git clone git://git.ricketyspace.net/lpschedule-generator.git
Log | Files | Refs

commit 302b5e0964871f79cc781db18b52b7c04d9462af
parent f3534a95c1914f929b484719284248de30c50442
Author: rsiddharth <rsd@gnu.org>
Date:   Sat, 20 Jul 2019 10:49:27 -0400

lps_gen: Rename '-s' switch to '-sc'

* docs/install/index.rst: Update output of `lps_gen --help`
* docs/schedule/index.rst: Update `lps_gen` command.
* lps_gen.py (main): Rename '-s' switch to '-sc'.

Diffstat:
docs/install/index.rst | 4++--
docs/schedule/index.rst | 4++--
lps_gen.py | 2+-
3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/docs/install/index.rst b/docs/install/index.rst @@ -67,14 +67,14 @@ Do:: You must get:: - usage: lps_gen [-h] [-s | -sp] [--ical ICAL] [--version] lp_md + usage: lps_gen [-h] [-sc | -sp] [--ical ICAL] [--version] lp_md positional arguments: lp_md Path to the LP markdown. optional arguments: -h, --help show this help message and exit - -s, --schedule Generate LP schedule + -sc, --schedule Generate LP schedule -sp, --speakers Generate LP speakers --ical ICAL Specify LP year as argument; generates iCal --version Show version number and exit. diff --git a/docs/schedule/index.rst b/docs/schedule/index.rst @@ -188,7 +188,7 @@ Generate HTML from Markdown ~~~~~~~~~~~~~~~~~~~~~~~~~~~ :: - $ lps_gen -s path/to/lp-sch.md > path/to/program-schedule.html + $ lps_gen -sc path/to/lp-sch.md > path/to/program-schedule.html or:: @@ -201,7 +201,7 @@ iCal export The ``--ical`` switch enables iCal export while generating LP schedule:: - $ lps_gen -s --ical 2016 path/to/lp-schedule.md > path/to/program-schedule.html + $ lps_gen -sc --ical 2016 path/to/lp-schedule.md > path/to/program-schedule.html The year of the conference must be given as an argument to the ``--ical`` switch. diff --git a/lps_gen.py b/lps_gen.py @@ -627,7 +627,7 @@ def main(): parser = ArgumentParser() group = parser.add_mutually_exclusive_group() - group.add_argument("-s", "--schedule", action="store_true", + group.add_argument("-sc", "--schedule", action="store_true", help="Generate LP schedule") group.add_argument("-sp", "--speakers", action="store_true", help="Generate LP speakers")