commit 3e4b825258ffb63d6a73f23fa36853bcf0c3741c
parent 866dbb65dae7498081ca967259f07ae2b595855c
Author: gearsix <gearsix@tuta.io>
Date: Thu, 26 Jan 2023 12:29:08 +0000
minor change in messaging (location -> filepath) for clarity
Diffstat:
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/dotfm.py b/src/dotfm.py
@@ -150,8 +150,8 @@ def init():
def init_createcsv(default_location):
location = default_location
if ARGS.skip == False:
- info('default dotfm csv file location: "{}"'.format(default_location))
- location = ask('dotfm csv file location (enter for default)? ')
+ info('default dotfm csv filepath: "{}"'.format(default_location))
+ location = ask('dotfm csv filepath (enter for default)? ')
if len(location) == 0:
location = default_location
if os.path.exists(location):
@@ -205,12 +205,12 @@ def install(dotfile):
clearduplicates(INSTALLED)
info('success - you might need to re-open the terminal to see changes take effect')
-def install_getlocation(known_index, msg='install location?'):
+def install_getlocation(known_index, msg='install filepath?'):
default = ''
if known_index != -1:
default = KNOWN[known_index][0]
- info('default install location is "{}"'.format(default))
- msg = 'install location (enter for default):'.format(default)
+ info('default install filepath is "{}"'.format(default))
+ msg = 'install filepath (enter for default):'.format(default)
if len(default) > 0 and ARGS.skip == True:
return default
location = ''
@@ -221,7 +221,7 @@ def install_getlocation(known_index, msg='install location?'):
elif location.find('~') != -1:
return location.replace('~', HOME)
else:
- debug('invalid location "{}"'.format(location))
+ debug('invalid filepath "{}"'.format(location))
location = ''
def install_getaliases(known_index):