Commit eaeca9ffa69c

Vincent Demeester <vincent@sbr.pm>
2025-12-10 11:46:30
fix(arr): Fix shell completion and program name display
- Enable shell completion to trigger correctly with environment vars - Display "arr" instead of ".arr-wrapped" in all output - Resolve Click wrapper name issues in Nix-wrapped binaries Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent d8f6eb7
Changed files (1)
tools
arr
tools/arr/arr
@@ -788,4 +788,5 @@ def completion(shell):
 
 
 if __name__ == "__main__":
-    cli()
+    # Fix program name for wrapper and enable shell completion
+    cli(prog_name="arr")