Skip to content

Commit

Permalink
Closes #22
Browse files Browse the repository at this point in the history
  • Loading branch information
Nelson-Gon committed Mar 22, 2021
1 parent c900fa1 commit d7ab3a3
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 4 deletions.
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,24 @@ To use at the commandline, please use:

```shell

python main.py --mode "f" --verbose 1 --inplace 1 --input-file "myfile.md"
python -m urlfix --mode "f" --verbose 1 --inplace 1 --input-file myfile.md

```

If not replacing within the same file, then:

```shell

python -m urlfix --mode "f" --verbose 1 --inplace 0 --input-file myfile.md --output-file myoutputfile.md

```



To get help:

```shell
python main.py -h
python -m urlfix -h

#usage: main.py [-h] -m MODE -in INPUT_FILE [-o OUTPUT_FILE] -v {False,false,0,True,true,1} -i {False,false,0,True,true,1}
#
Expand Down
11 changes: 9 additions & 2 deletions docs/source/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -157,13 +157,20 @@ To use at the commandline, please use:
.. code-block:: shell
python main.py --mode "f" --verbose 1 --inplace 1 --input-file "myfile.md"
python -m urlfix --mode "f" --verbose 1 --inplace 1 --input-file myfile.md
If not replacing within the same file, then:

.. code-block:: shell
python -m urlfix --mode "f" --verbose 1 --inplace 0 --input-file myfile.md --output-file myoutputfile.md
To get help:

.. code-block:: shell
python main.py -h
python -m urlfix -h
#usage: main.py [-h] -m MODE -in INPUT_FILE [-o OUTPUT_FILE] -v {False,false,0,True,true,1} -i {False,false,0,True,true,1}
#
Expand Down

0 comments on commit d7ab3a3

Please sign in to comment.