diff options
author | Rin Toshaka <rinpatch@sdf.org> | 2018-12-04 19:00:45 +0100 |
---|---|---|
committer | Rin Toshaka <rinpatch@sdf.org> | 2018-12-04 19:00:45 +0100 |
commit | 6396f1b58f69b727e801df4b52a32c47da08e517 (patch) | |
tree | 5130e8c06ad72990a15accf974c9d7cb046b6324 /lib/mix/tasks/pleroma/instance.ex | |
parent | 03b2d1016d25ab2b17a5a511249b4df59c4743fd (diff) | |
download | pleroma-6396f1b58f69b727e801df4b52a32c47da08e517.tar.gz |
change new to gen in instance.ex . Refactor user.ex
Diffstat (limited to 'lib/mix/tasks/pleroma/instance.ex')
-rw-r--r-- | lib/mix/tasks/pleroma/instance.ex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mix/tasks/pleroma/instance.ex b/lib/mix/tasks/pleroma/instance.ex index 6a85880bf..eb578644d 100644 --- a/lib/mix/tasks/pleroma/instance.ex +++ b/lib/mix/tasks/pleroma/instance.ex @@ -8,7 +8,7 @@ defmodule Mix.Tasks.Pleroma.Instance do ## Generate a new instance config. - mix pleroma.instance new [OPTION...] + mix pleroma.instance gen [OPTION...] If any options are left unspecified, you will be prompted interactively @@ -26,7 +26,7 @@ defmodule Mix.Tasks.Pleroma.Instance do - `--dbpass DBPASS` - the password to use for the database connection """ - def run(["new" | rest]) do + def run(["gen" | rest]) do {options, [], []} = OptionParser.parse( rest, |