You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tools/Propulsion.Tool/Sync.fs
+8-4Lines changed: 8 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -117,8 +117,12 @@ and [<NoEquality; NoComparison; RequireSubcommand>] CosmosParameters =
117
117
|[<CliPrefix(CliPrefix.None); Last>] From ofParseResults<SourceParameters>
118
118
interface IArgParserTemplate with
119
119
membera.Usage= a |>function
120
-
| Connection _->"specify a connection string for the destination Cosmos account. Default (if Cosmos): Same as Source"
121
-
| Database _->"specify a database name for store. Default (if Cosmos): Same as Source"
120
+
| Connection _-> $"""specify a connection string for the destination Cosmos account.
121
+
Default (From Cosmos): Same as Source.
122
+
Default (From Json): optional if environment variable {Args.Configuration.Cosmos.CONNECTION} specified"""
123
+
| Database _-> $"""specify a database name for store.
124
+
Default (From Cosmos): Same as Source.
125
+
Default (From Json): optional if environment variable {Args.Configuration.Cosmos.DATABASE} specified"""
122
126
| Container _->"specify a container name for store."
123
127
| LeaseContainerId _->"store leases in Sync target DB (default: use `-aux` adjacent to the Source Container). Enables the Source to be read via a ReadOnly connection string."
124
128
| Timeout _->"specify operation timeout in seconds. Default: 5."
@@ -130,7 +134,7 @@ and CosmosArguments(c: Args.Configuration, p: ParseResults<CosmosParameters>) =
0 commit comments