Skip to content

Commit 1580ce1

Browse files
nyuuzyouWauplin
authored andcommitted
Fix bash history expansion in hf jobs example (#3277)
Swap quotes to fix bash history expansion event not found error
1 parent 0bbc5e1 commit 1580ce1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/en/guides/cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ Run compute jobs on Hugging Face infrastructure with a familiar Docker-like inte
611611
612612
```bash
613613
# Directly run Python code
614-
>>> hf jobs run python:3.12 python -c "print('Hello from the cloud!')"
614+
>>> hf jobs run python:3.12 python -c 'print("Hello from the cloud!")'
615615

616616
# Use GPUs without any setup
617617
>>> hf jobs run --flavor a10g-small pytorch/pytorch:2.6.0-cuda12.4-cudnn9-devel \

0 commit comments

Comments
 (0)