summaryrefslogtreecommitdiffstats
path: root/src/browse.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/browse.h')
-rw-r--r--src/browse.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/browse.h b/src/browse.h
index 263641f..8d6d285 100644
--- a/src/browse.h
+++ b/src/browse.h
@@ -19,9 +19,10 @@ struct State;
/// Run in "browse" mode, which execs a Python webserver.
/// \a ninja_command is the command used to invoke ninja.
-/// \a initial_target is the first target to load.
+/// \a args are the number of arguments to be passed to the Python script.
+/// \a argv are arguments to be passed to the Python script.
/// This function does not return if it runs successfully.
void RunBrowsePython(State* state, const char* ninja_command,
- const char* initial_target);
+ const char* input_file, int argc, char* argv[]);
#endif // NINJA_BROWSE_H_