mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-05 22:57:11 -04:00
Remove optimist dependency. Add help text with options
This commit is contained in:
parent
102318497d
commit
f409914ff2
6 changed files with 68 additions and 12 deletions
|
@ -44,8 +44,7 @@ fi
|
|||
settings="settings.json"
|
||||
a='';
|
||||
for arg in $*; do
|
||||
if [ "$a" = "--settings" ]; then settings=$arg; fi
|
||||
if [ "$a" = "-s" ]; then settings=$arg; fi
|
||||
if [ "$a" = "--settings" ] || [ "$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