aboutsummaryrefslogtreecommitdiff
path: root/lib/mix/tasks/pleroma/instance.ex
diff options
context:
space:
mode:
authorRin Toshaka <rinpatch@sdf.org>2018-12-04 19:00:45 +0100
committerRin Toshaka <rinpatch@sdf.org>2018-12-04 19:00:45 +0100
commit6396f1b58f69b727e801df4b52a32c47da08e517 (patch)
tree5130e8c06ad72990a15accf974c9d7cb046b6324 /lib/mix/tasks/pleroma/instance.ex
parent03b2d1016d25ab2b17a5a511249b4df59c4743fd (diff)
downloadpleroma-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.ex4
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,