Skip to content

Commit 2138dfd

Browse files
committed
Have "sbase print [FILE]" use word_wrap by default
1 parent 7178091 commit 2138dfd

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

seleniumbase/console_scripts/ReadMe.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ See: http://www.katalon.com/automation-recorder
106106

107107
* Options:
108108
``-n`` (Add line Numbers to the rows)
109-
``-w`` (Use word-Wrap for long lines)
110109

111110
* Output:
112111
Prints the code/text of any file

seleniumbase/console_scripts/run.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,6 @@ def show_print_usage():
202202
print(" OR: sbase print [FILE] [OPTIONS]")
203203
print(" Options:")
204204
print(" -n (Add line Numbers to the rows)")
205-
print(" -w (Use word-Wrap for long lines)")
206205
print(" Output:")
207206
print(" Prints the code/text of any file")
208207
print(" with syntax-highlighting.")

seleniumbase/console_scripts/sb_print.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
OR: sbase print [FILE] [OPTIONS]
77
Options:
88
-n (Add line Numbers to the rows)
9-
-w (Use word-Wrap for long lines)
109
Output:
1110
Prints the code/text of any file
1211
with syntax-highlighting.
@@ -24,7 +23,6 @@ def invalid_run_command(msg=None):
2423
exp += " OR: sbase print [FILE] [OPTIONS]\n"
2524
exp += " Options:\n"
2625
exp += " -n (Add line Numbers to the rows)\n"
27-
exp += " -w (Use word-Wrap for long lines)\n"
2826
exp += " Output:\n"
2927
exp += " Prints the code/text of any file\n"
3028
exp += ' with syntax-highlighting.\n'
@@ -67,7 +65,7 @@ def main():
6765
c7 = colorama.Fore.BLACK + colorama.Back.MAGENTA
6866
cr = colorama.Style.RESET_ALL
6967
line_numbers = False
70-
word_wrap = False
68+
word_wrap = True # Always use word wrap now
7169
help_me = False
7270
invalid_cmd = None
7371
is_python_file = False

0 commit comments

Comments
 (0)