Skip to content

Commit

Permalink
README.md and usage() information edits
Browse files Browse the repository at this point in the history
  • Loading branch information
FIRE-IN-THE-CODE committed Jul 29, 2020
1 parent 3ebd3cc commit e4f7612
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,19 @@ Note: As an extra precaution for data loss, it is recommended that you backup an
will be used on.

## Requirements
Requires Python to be installed.
Requires Python3 to be installed.

### Build Status
In progress.

### How to Use
Indent Converter uses a command line interface. The syntax is:
tab_converter.py <command> [option - file name]

-f --file select the script to convert
-h --help prints usage information
-m --mix mixes the indents into tabs and spaces
-o --output gives the name to the new converted file
-r --repair fixes the script to make all indents into 4 spaces


2 changes: 1 addition & 1 deletion main.py → tab_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


def usage():
print("Tab Converter: a small script used to reformat other python scripts"
print("Indent Converter: a small script used to reformat other python scripts"
+ " converting tabs into 4 spaces or vice versa.")
print("\n")
print("Note: it is recommended to backup any important scripts before "
Expand Down

0 comments on commit e4f7612

Please sign in to comment.