add -C cfgfile option to shred to allow multiple configurations. I just added the option for multiple configs, I didn't make it work as it requires quite a bit of change to the shred program flow; which tries to load the default config before doing anything at all.
This commit is contained in:
parent
4335ef68d6
commit
3354abfd42
@ -16,6 +16,10 @@ to create and use your own tracking fork on github
|
|||||||
Then go to your github page and create a "Pull request" when you are ready
|
Then go to your github page and create a "Pull request" when you are ready
|
||||||
to notify us to merge your work.
|
to notify us to merge your work.
|
||||||
|
|
||||||
|
**Translations**
|
||||||
|
|
||||||
|
Our translations are managed through Transifex. If you wish to help out translating the Red Matrix to another language, sign up on transifex.com, visit [https://www.transifex.com/projects/p/red-matrix/](https://www.transifex.com/projects/p/red-matrix/) and request to join one of the existing language teams or create a new one. Notify one of the core developers when you have a translation update which requires merging, or ask about merging it yourself if you're comfortable with git and PHP. We have a string file called 'messages.po' which is gettext compliant and a handful of email templates, and from there we automatically generate the application's language files.
|
||||||
|
|
||||||
**Important**
|
**Important**
|
||||||
|
|
||||||
Please pull in any changes from the project repository and merge them with your work **before** issuing a pull request. We reserve the right to reject any patch which results in a large number of merge conflicts. This is especially true in the case of language translations - where we may not be able to understand the subtle differences between conflicting versions.
|
Please pull in any changes from the project repository and merge them with your work **before** issuing a pull request. We reserve the right to reject any patch which results in a large number of merge conflicts. This is especially true in the case of language translations - where we may not be able to understand the subtle differences between conflicting versions.
|
||||||
|
@ -43,6 +43,8 @@ OPTIONS:
|
|||||||
-h Show this message
|
-h Show this message
|
||||||
|
|
||||||
-c Command
|
-c Command
|
||||||
|
|
||||||
|
-C Config-Filename
|
||||||
|
|
||||||
Valid Commands:
|
Valid Commands:
|
||||||
statuses_update
|
statuses_update
|
||||||
@ -141,7 +143,6 @@ load_config () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
main () {
|
main () {
|
||||||
load_config
|
|
||||||
|
|
||||||
fcli_command=
|
fcli_command=
|
||||||
fcli_status=
|
fcli_status=
|
||||||
@ -152,6 +153,7 @@ main () {
|
|||||||
do
|
do
|
||||||
case $name in
|
case $name in
|
||||||
c) fcli_command="$OPTARG";;
|
c) fcli_command="$OPTARG";;
|
||||||
|
C) FCLI_RC="$OPTARG";;
|
||||||
s) fcli_status="$OPTARG";;
|
s) fcli_status="$OPTARG";;
|
||||||
r) fcli_in_reply_to_status_id="$OPTARG";;
|
r) fcli_in_reply_to_status_id="$OPTARG";;
|
||||||
f) fcli_file="$OPTARG";;
|
f) fcli_file="$OPTARG";;
|
||||||
@ -160,6 +162,7 @@ main () {
|
|||||||
exit 2;;
|
exit 2;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
load_config
|
||||||
|
|
||||||
if [[ "$fcli_help_flag" == "1" ]]; then case $fcli_command in
|
if [[ "$fcli_help_flag" == "1" ]]; then case $fcli_command in
|
||||||
statuses_update)
|
statuses_update)
|
||||||
|
@ -1 +1 @@
|
|||||||
2013-09-16.438
|
2013-09-17.439
|
||||||
|
Reference in New Issue
Block a user