Skip to content

Commit

Permalink
Fix: Update run_continuous.sh to pass all command-line arguments
Browse files Browse the repository at this point in the history
Description:

- Modified `run_continuous.sh` to include the `--continuous` flag directly in the command:
  - Removed the unused `argument` variable.
  - Added the `--continuous` flag to the `./run.sh` command.
  - Ensured all command-line arguments are passed through to `run.sh` and the `autogpt` module.

This change improves the usability of the `run_continuous.sh` script by allowing users to provide
additional command-line arguments along with the `--continuous` flag. It ensures that all arguments
are properly passed to the `run.sh` script and eventually to the `autogpt` module, preventing
confusion and providing more flexible usage.

Suggestion from:
#1941 (comment)
  • Loading branch information
0xf333 committed Apr 16, 2023
1 parent 627533b commit 4269326
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run_continuous.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash
argument="--continuous"
./run.sh "$argument"

./run.sh --continuous "$@"

0 comments on commit 4269326

Please sign in to comment.