mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-05 22:57:11 -04:00
Allow settings to be specified with short '-s' option
This commit is contained in:
parent
7b2388bb56
commit
102318497d
2 changed files with 7 additions and 2 deletions
|
@ -45,6 +45,7 @@ settings="settings.json"
|
|||
a='';
|
||||
for arg in $*; do
|
||||
if [ "$a" = "--settings" ]; then settings=$arg; fi
|
||||
if [ "$a" = "-s" ]; then settings=$arg; fi
|
||||
a=$arg
|
||||
done
|
||||
#Does a $settings exist? if no copy the template
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue