Skip to content

Commit 5c98c73

Browse files
committed
Improvement to the usage documentation
1 parent 6aa5638 commit 5c98c73

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ Written in GoLang, this utility compares the schema between two PostgreSQL datab
44

55
It is written to be easy to add and improve the accuracy of the diff. Please let me know if you think this goal has not been met. I'm very interested in suggestions and contributions to improve this program. I'm not a GoLang expert yet, but each program I write gets me closer to that goal.
66

7-
I'm a big fan of GoLang because of how easy it is to deliver a single executable on almost any platform. But, just as important I love the design choices and the concurrency features which I've only begun to delve into. Streaming objects back (via a channel) from a go routine is far better than returning a potentially massive list of objects.
7+
I'm a big fan of GoLang because of how easy it is to deliver a single executable on almost any platform. But, just as important I love the design choices and the concurrency features which I've only begun to delve into. For example, streaming objects back (via a channel) from a go routine is far better than returning a potentially massive list of objects (as you are forced to do with most languages... or implement paging).
88

99
<!-- A couple of binaries to save you the effort: [Mac](https://github.com/joncrlsn/pgdiff/raw/master/bin-osx/pgdiff "OSX version") -->
1010

1111
## usage
1212

13-
pgdiff [database flags]
13+
pgdiff [database flags] &lt;schemaType&gt;
1414

1515

1616
program flags | Explanation
@@ -25,3 +25,5 @@ I'm a big fan of GoLang because of how easy it is to deliver a single executable
2525
-h2 | second db host -- default is localhost
2626
-p2 | second db port number. defaults to 5432
2727
-d2 | second db name
28+
29+
&lt;schemaType&gt; the type of objects in the schema to compare: TABLE, COLUMN, FOREIGN_KEY (soon: CONSTRAINT, ROLE)

0 commit comments

Comments
 (0)