Skip to content

Commit 027c368

Browse files
authored
Update install.py
Fixing installation script for non-pipx installations
1 parent fabf90f commit 027c368

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

pyradio/install.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1324,7 +1324,7 @@ def _do_it(self, mode='update'):
13241324
parser.add_argument('-oc', '--open-cache', action='store_true', help=SUPPRESS)
13251325
parser.add_argument('-sc', '--show-cache', action='store_true', help=SUPPRESS)
13261326
parser.add_argument('-cc', '--clear-cache', action='store_true', help=SUPPRESS)
1327-
parser.add_argument('-i', '--isolated', action='store_true', help=SUPPRESS)
1327+
parser.add_argument('-i', '--isolate', action='store_true', help=SUPPRESS)
13281328
if HAS_PIPX:
13291329
parser.add_argument('-gc', '--get-cache', action='store_true',
13301330
help='Download source code, keep it in the cache and exit.')
@@ -1333,7 +1333,10 @@ def _do_it(self, mode='update'):
13331333
parser.add_argument('--python2', action='store_true',
13341334
help='Install using python 2.')
13351335
else:
1336-
parser.add_argument('-i', '--isolated', action='store_true', help=SUPPRESS)
1336+
parser.add_argument('-oc', '--open-cache', action='store_true', help=SUPPRESS)
1337+
parser.add_argument('-sc', '--show-cache', action='store_true', help=SUPPRESS)
1338+
parser.add_argument('-cc', '--clear-cache', action='store_true', help=SUPPRESS)
1339+
parser.add_argument('-i', '--isolate', action='store_true', help=SUPPRESS)
13371340
parser.add_argument('--python2', action='store_true', help=SUPPRESS)
13381341
parser.add_argument('-R', '--uninstall', action='store_true',
13391342
help='Uninstall PyRadio.')

0 commit comments

Comments
 (0)