mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
IGN: Make --root a synonym for --prefix for the develop and install commands
This commit is contained in:
parent
4433c0f15d
commit
cc11f188b3
@ -43,7 +43,7 @@ class Develop(Command):
|
||||
sub_commands = ['build', 'resources', 'gui']
|
||||
|
||||
def add_options(self, parser):
|
||||
parser.add_option('--prefix',
|
||||
parser.add_option('--prefix', '--root',
|
||||
help='Binaries will be installed in <prefix>/bin')
|
||||
|
||||
def pre_sub_commands(self, opts):
|
||||
@ -137,7 +137,7 @@ class Install(Develop):
|
||||
sub_commands = ['build', 'gui']
|
||||
|
||||
def add_options(self, parser):
|
||||
parser.add_option('--prefix', help='Installation prefix')
|
||||
parser.add_option('--prefix', '--root', help='Installation prefix')
|
||||
parser.add_option('--libdir', help='Where to put calibre library files')
|
||||
parser.add_option('--bindir', help='Where to install calibre binaries')
|
||||
parser.add_option('--sharedir', help='Where to install calibre data files')
|
||||
|
Loading…
x
Reference in New Issue
Block a user