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

[39/44] incubator-trafficcontrol git commit: updated comments and output

updated comments and output

(cherry picked from commit 96dd7fef1ed860e2b3f66287d555bf8768056d19)


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

Branch: refs/heads/2.0.x
Commit: f1ff95e53a1db0a8e625dfeafb8011f37de01f56
Parents: e1124f2
Author: Dewayne Richardson <de...@apache.org>
Authored: Fri Apr 14 08:43:37 2017 -0600
Committer: Dan Kirkwood <da...@gmail.com>
Committed: Wed Apr 19 15:36:19 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/f1ff95e5/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";