Jelajahi Sumber

Change word "flag" to "argument" for consistency

Cammy 7 tahun lalu
induk
melakukan
8ec9676b4d

+ 1 - 1
.github/issue_template.md

@@ -32,7 +32,7 @@ $ pyinstalive --info
 ----------------------------------------------------------------------
 PYINSTALIVE (SCRIPT V2.5.5 - PYTHON V3.6.3) - 11:50:00 AM
 ----------------------------------------------------------------------
-[I] To see all the available flags, use the -h flag.
+[I] To see all the available arguments, use the -h argument.
 
 [I] PyInstaLive version:        2.5.5
 [I] Python version:             3.6.3

+ 4 - 4
MOREHELP.md

@@ -1,7 +1,7 @@
 # Commands
 
 
-- ```-h``` or ```--help```  **—**  When this flag is passed, PyInstaLive's help message will be shown containing all available commands.
+- ```-h``` or ```--help```  **—**  When this argument is passed, PyInstaLive's help message will be shown containing all available commands.
 
 - ```-u``` or ```--username```  **—**  Instagram username to login with. Requires:  ```--password```, ```--download```.
 
@@ -11,11 +11,11 @@
 
 - ```-r``` or ```--record```  **—**  The username of the user whose livestream or replay you want to save (legacy).
 
-- ```-i``` or ```--info```  **—**  When this flag is passed, PyInstaLive will show information such as its current version, the configuration file contents, available cookie files and more.
+- ```-i``` or ```--info```  **—**  When this argument is passed, PyInstaLive will show information such as its current version, the configuration file contents, available cookie files and more.
 
-- ```-nr``` or ```--noreplays```  **—**  When this flag is passed, PyInstaLive will not download any available replays. Overrides the configuration file.
+- ```-nr``` or ```--noreplays```  **—**  When this argument is passed, PyInstaLive will not download any available replays. Overrides the configuration file.
 
-- ```-cl``` or ```--clean```  **—**  When this flag is passed, PyInstaLive clean the current download folder by deleting folders ending in `_downloads`. Any folders that contain a `folder.lock` file (e.g. folders for ongoing downloads) will be skipped.
+- ```-cl``` or ```--clean```  **—**  When this argument is passed, PyInstaLive clean the current download folder by deleting folders ending in `_downloads`. Any folders that contain a `folder.lock` file (e.g. folders for ongoing downloads) will be skipped.
 
 
 # Default configuration file

+ 1 - 1
README.md

@@ -149,7 +149,7 @@ PYINSTALIVE (SCRIPT V2.5.5 - PYTHON V3.6.3) - 06:45:30 PM
 ![](https://raw.githubusercontent.com/notcammy/PyInstaLive/5907fc866446d5f426389a5198560075848d770e/.github/spacer.png)
 
 ## Notes
-- Python 2 cannot save most unicode characters in comments such as emojis if it's not built from source using the `--enable-unicode=ucs4` flag. Read more about this [here](https://emoji-unicode.readthedocs.io/en/latest/python2.html). This should probably not affect pre-installed Python 2 installations on Linux-based systems such as Ubuntu or Debian.
+- Python 2 cannot save most unicode characters in comments such as emojis if it's not built from source using the `--enable-unicode=ucs4` argument. Read more about this [here](https://emoji-unicode.readthedocs.io/en/latest/python2.html). This should probably not affect pre-installed Python 2 installations on Linux-based systems such as Ubuntu or Debian.
 
 - If the script is ran and there are available replays as well as an ongoing Instagram livestream, only the livestream will be downloaded. Run the script again after the livestream has ended to download the available replays.
 

+ 1 - 1
pyinstalive/comments.py

@@ -167,7 +167,7 @@ class CommentsDownloader(object):
 				
 			with codecs.open(log_file, 'w', 'utf-8-sig') as log_outfile:
 				if python_version.startswith('2') and not wide_build:
-					log_outfile.write('This log was generated using Python {:s} without wide unicode support. This means characters such as emojis are not saved.\nUser comments without any text usually are comments that only had emojis.\nBuild Python 2 with the --enable-unicode=ucs4 flag or use Python 3 for full unicode support.\n\n'.format(python_version) + ''.join(subs))
+					log_outfile.write('This log was generated using Python {:s} without wide unicode support. This means characters such as emojis are not saved.\nUser comments without any text usually are comments that only had emojis.\nBuild Python 2 with the --enable-unicode=ucs4 argument or use Python 3 for full unicode support.\n\n'.format(python_version) + ''.join(subs))
 				else:
 					log_outfile.write(''.join(subs))
 			return comment_errors, total_comments

+ 1 - 1
pyinstalive/downloader.py

@@ -282,7 +282,7 @@ def get_broadcasts_info(user_id):
 			else:
 				log('[I] There are no available replays.', "YELLOW")
 		else:
-			log("[I] Replay saving is disabled either with a flag or in the config file.", "BLUE")
+			log("[I] Replay saving is disabled either with an argument or in the config file.", "BLUE")
 		seperator("GREEN")
 	except Exception as e:
 		log('[E] Could not finish checking: {:s}'.format(str(e)), "RED")

+ 1 - 1
pyinstalive/initialize.py

@@ -183,7 +183,7 @@ def show_info(config):
 	except Exception as e:
 		log("[W] Could not check for cookie files: {:s}".format(str(e)), "YELLOW")
 		log("", "ENDC")
-	log("[I] To see all the available flags, use the -h flag.", "BLUE")
+	log("[I] To see all the available arguments, use the -h argument.", "BLUE")
 	log("", "GREEN")
 	log("[I] PyInstaLive version:    	{:s}".format(script_version), "GREEN")
 	log("[I] Python version:         	{:s}".format(python_version), "GREEN")