[Openlp-core] [Bug 1012628] Re: Set data path via command line switch
** Branch linked: lp:~tomasgroth/openlp/portable-path ** Changed in: openlp Assignee: (unassigned) => Tomas Groth (tomasgroth) ** Changed in: openlp Milestone: None => 2.9.1 ** Changed in: openlp Status: Confirmed => Fix Committed -- You received this bug notification because you are a member of OpenLP Core, which is subscribed to OpenLP. https://bugs.launchpad.net/bugs/1012628 Title: Set data path via command line switch Status in OpenLP: Fix Committed Bug description: Data path can now be changed via GUI. It could be useful if the data path could be set via a command line switch. This would allow different shortcuts to run openlp with different data sets. Could also be useful for testing environments. e.g. $ openlp -dp "D:\worship\openlp data" $ openlp --data-path "D:\worship\openlp data" To manage notifications about this bug go to: https://bugs.launchpad.net/openlp/+bug/1012628/+subscriptions ___ Mailing list: https://launchpad.net/~openlp-core Post to : openlp-core@lists.launchpad.net Unsubscribe : https://launchpad.net/~openlp-core More help : https://help.launchpad.net/ListHelp
[Openlp-core] [Bug 1012628] Re: Set data path via command line switch
I think we should also consider allowing the settings path to be changed on the command line. On Windows this would then use the ini file instead of the registry, like the portable version does but without the restriction as to where the ini file is located. C:\ openlp --settings-file D:\worship\openlp\settings.ini -- You received this bug notification because you are a member of OpenLP Core, which is subscribed to OpenLP. https://bugs.launchpad.net/bugs/1012628 Title: Set data path via command line switch Status in OpenLP - Worship Presentation Software: Confirmed Bug description: Data path can now be changed via GUI. It could be useful if the data path could be set via a command line switch. This would allow different shortcuts to run openlp with different data sets. Could also be useful for testing environments. e.g. $ openlp -dp D:\worship\openlp data $ openlp --data-path D:\worship\openlp data To manage notifications about this bug go to: https://bugs.launchpad.net/openlp/+bug/1012628/+subscriptions ___ Mailing list: https://launchpad.net/~openlp-core Post to : openlp-core@lists.launchpad.net Unsubscribe : https://launchpad.net/~openlp-core More help : https://help.launchpad.net/ListHelp
[Openlp-core] [Bug 1012628] Re: Set data path via command line switch
** Changed in: openlp Status: New = Confirmed -- You received this bug notification because you are a member of OpenLP Core, which is subscribed to OpenLP. https://bugs.launchpad.net/bugs/1012628 Title: Set data path via command line switch Status in OpenLP - Worship Presentation Software: Confirmed Bug description: Data path can now be changed via GUI. It could be useful if the data path could be set via a command line switch. This would allow different shortcuts to run openlp with different data sets. Could also be useful for testing environments. e.g. $ openlp -dp D:\worship\openlp data $ openlp --data-path D:\worship\openlp data To manage notifications about this bug go to: https://bugs.launchpad.net/openlp/+bug/1012628/+subscriptions ___ Mailing list: https://launchpad.net/~openlp-core Post to : openlp-core@lists.launchpad.net Unsubscribe : https://launchpad.net/~openlp-core More help : https://help.launchpad.net/ListHelp
[Openlp-core] [Bug 1012628] Re: Set data path via command line switch
Yes, the standard form of command line arguments (and the one that the argument parser that OpenLP uses) is a single letter for the short form, and words-separated-by-dashes for the long form. -- You received this bug notification because you are a member of OpenLP Core, which is subscribed to OpenLP. https://bugs.launchpad.net/bugs/1012628 Title: Set data path via command line switch Status in OpenLP - Worship Presentation Software: New Bug description: Data path can now be changed via GUI. It could be useful if the data path could be set via a command line switch. This would allow different shortcuts to run openlp with different data sets. Could also be useful for testing environments. e.g. $ openlp -dp D:\worship\openlp data $ openlp --data-path D:\worship\openlp data To manage notifications about this bug go to: https://bugs.launchpad.net/openlp/+bug/1012628/+subscriptions ___ Mailing list: https://launchpad.net/~openlp-core Post to : openlp-core@lists.launchpad.net Unsubscribe : https://launchpad.net/~openlp-core More help : https://help.launchpad.net/ListHelp
[Openlp-core] [Bug 1012628] Re: Set data path via command line switch
- options should really only be single character. Will probably be best just to implement the long form. -- You received this bug notification because you are a member of OpenLP Core, which is subscribed to OpenLP. https://bugs.launchpad.net/bugs/1012628 Title: Set data path via command line switch Status in OpenLP - Worship Presentation Software: New Bug description: Data path can now be changed via GUI. It could be useful if the data path could be set via a command line switch. This would allow different shortcuts to run openlp with different data sets. Could also be useful for testing environments. e.g. $ openlp -dp D:\worship\openlp data $ openlp --data-path D:\worship\openlp data To manage notifications about this bug go to: https://bugs.launchpad.net/openlp/+bug/1012628/+subscriptions ___ Mailing list: https://launchpad.net/~openlp-core Post to : openlp-core@lists.launchpad.net Unsubscribe : https://launchpad.net/~openlp-core More help : https://help.launchpad.net/ListHelp