Skip to content

Commit 4a70e72

Browse files
committed
throw message error if running update without lib name
1 parent 8df5a9d commit 4a70e72

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

xircuits/start_xircuits.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,10 @@ def cmd_update_library(args, extra_args=[]):
174174
return
175175
else:
176176
# single-library update
177+
if not args.library_name:
178+
print("Error: library_name is required when not using --all")
179+
return
180+
177181
message = update_library(
178182
library_name=args.library_name,
179183
repo=args.repo,

0 commit comments

Comments
 (0)