Skip to content

Commit d6e55e0

Browse files
committed
improve help
1 parent 94cd98e commit d6e55e0

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

codeflash/cli_cmds/cmd_init.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,8 @@ def init_codeflash() -> None:
105105
usage_table.add_row(
106106
"codeflash --file <path-to-file> --function <function-name>", "Optimize a specific function within a file"
107107
)
108-
usage_table.add_row("codeflash --file <path-to-file>", "Optimize all functions in a file")
109-
usage_table.add_row(
110-
f"codeflash --all{module_string if module_string else ''}", "Optimize all functions in all files"
111-
)
108+
usage_table.add_row("codeflash optimize myscript.py", "Trace and find the best optimizations for a script")
109+
usage_table.add_row("codeflash --all", "Optimize all functions in all files")
112110
usage_table.add_row("codeflash --help", "See all available options")
113111

114112
completion_message = "⚡️ Codeflash is now set up!\n\nYou can now run any of these commands:"
@@ -330,7 +328,7 @@ def collect_setup_info() -> SetupInfo:
330328
elif tests_root_answer == custom_dir_option:
331329
custom_tests_panel = Panel(
332330
Text(
333-
"🧪 Enter a custom test directory path.\n\nPlease provide the path to your test directory.",
331+
"🧪 Enter a custom test directory path.\n\nPlease provide the path to your test directory, relative to the current directory.",
334332
style="yellow",
335333
),
336334
title="🧪 Custom Test Directory",

0 commit comments

Comments
 (0)