You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by da...@apache.org on 2017/04/14 20:23:36 UTC

[12/13] incubator-trafficcontrol git commit: updated comments and output

updated comments and output


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/96dd7fef
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/96dd7fef
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/96dd7fef

Branch: refs/heads/master
Commit: 96dd7fef1ed860e2b3f66287d555bf8768056d19
Parents: 1f4f9e5
Author: Dewayne Richardson <de...@apache.org>
Authored: Fri Apr 14 08:43:37 2017 -0600
Committer: Dan Kirkwood <da...@gmail.com>
Committed: Fri Apr 14 14:22:51 2017 -0600

----------------------------------------------------------------------
 traffic_ops/app/db/admin.pl | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/96dd7fef/traffic_ops/app/db/admin.pl
----------------------------------------------------------------------
diff --git a/traffic_ops/app/db/admin.pl b/traffic_ops/app/db/admin.pl
index 95ac239..e904880 100755
--- a/traffic_ops/app/db/admin.pl
+++ b/traffic_ops/app/db/admin.pl
@@ -49,8 +49,8 @@ my $usage = "\n"
 	. " ----------------------\n"
 	. " Example Contents\n"
 	. " ----------------------\n"
-	. " *:*:*:postgres:yourpassword \n"
-	. " *:*:*:traffic_ops:yourpassword \n"
+	. " *:*:*:postgres:your-postgres-password \n"
+	. " *:*:*:traffic_ops:the-password-in-dbconf.yml \n"
 	. " ----------------------\n\n"
 	. " Save the following example into this file $HOME/.pgpass with the permissions of this file\n"
 	. " so only $USER can read and write.\n\n"
@@ -58,15 +58,15 @@ my $usage = "\n"
 	. "===================================================================================================================\n"
 	. "$PROGRAM_NAME arguments:   \n\n"
 	. "createdb  - Execute db 'createdb' the database for the current environment.\n"
+	. "create_user  - Execute 'create_user' the user for the current environment (traffic_ops).\n"
 	. "dropdb  - Execute db 'dropdb' on the database for the current environment.\n"
 	. "down  - Roll back a single migration from the current version.\n"
-	. "create_user  - Execute 'create_user' the user for the current environment (traffic_ops).\n"
 	. "drop_user  - Execute 'drop_user' the user for the current environment (traffic_ops).\n"
-	. "show_users  - Execute sql to show all of the user for the current environment.\n"
 	. "redo  - Roll back the most recently applied migration, then run it again.\n"
 	. "reset  - Execute db 'dropdb', 'createdb', load_schema, migrate on the database for the current environment.\n"
 	. "reverse_schema  - Reverse engineer the lib/Schema/Result files from the environment database.\n"
 	. "seed  - Execute sql from db/seeds.sql for loading static data.\n"
+	. "show_users  - Execute sql to show all of the user for the current environment.\n"
 	. "status  - Print the status of all migrations.\n"
 	. "upgrade  - Execute migrate then seed on the database for the current environment.\n";