Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions samcli/commands/sync/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,10 @@
HELP_TEXT = """
[Beta Feature] Update/Sync local artifacts to AWS

By default, the sync command runs a full stack update. You can specify --code or --watch to switch modes
By default, the sync command runs a full stack update. You can specify --code or --watch to switch modes.
\b
Sync also supports nested stacks and nested stack resources. For example
$ sam sync --code --stack-name {stack} --resource-id {ChildStack}/{ResourceId}
"""

SYNC_CONFIRMATION_TEXT = """
Expand Down Expand Up @@ -113,7 +116,8 @@
@click.option(
"--resource-id",
multiple=True,
help="Sync code for all the resources with the ID.",
help="Sync code for all the resources with the ID. To sync a resource within a nested stack, "
"use the following pattern {ChildStack}/{logicalId}.",
)
@click.option(
"--resource",
Expand Down