From cd83f5bff0351e768bb04ef419782c54414fe9fa Mon Sep 17 00:00:00 2001 From: Anthony Benjamin Date: Tue, 15 Apr 2025 12:55:15 -0700 Subject: [PATCH 1/2] fix/volume-clone-help-message --- vast.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vast.py b/vast.py index 6c52bd52..f93a2a78 100755 --- a/vast.py +++ b/vast.py @@ -1272,7 +1272,7 @@ def change__bid(args: argparse.Namespace): argument("dest", help="id of volume offer volume is being copied to", type=int), argument("-s", "--size", help="Size of new volume contract, in GB. Must be greater than or equal to the source volume, and less than or equal to the destination offer.", type=float), argument("-d", "--disable_compression", action="store_true", help="Do not compress volume data before copying."), - usage="vastai copy volume [options]", + usage="vastai clone volume [options]", help="Clone an existing volume", epilog=deindent(""" Create a new volume with the given offer, by copying the existing volume. @@ -4328,6 +4328,7 @@ def show__volumes(args: argparse.Namespace): if args.raw: return processed else: + print("processed:", processed) display_table(processed, volume_fields, replace_spaces=False) From 1b6ba859dca27a5ba4e08f4ed08e6ed7ea6d9863 Mon Sep 17 00:00:00 2001 From: Anthony Benjamin Date: Tue, 15 Apr 2025 13:24:27 -0700 Subject: [PATCH 2/2] chore: cleanup debug print --- vast.py | 1 - 1 file changed, 1 deletion(-) diff --git a/vast.py b/vast.py index f93a2a78..6dfa8f2c 100755 --- a/vast.py +++ b/vast.py @@ -4328,7 +4328,6 @@ def show__volumes(args: argparse.Namespace): if args.raw: return processed else: - print("processed:", processed) display_table(processed, volume_fields, replace_spaces=False)