Skip to content

Commit f013e5d

Browse files
committed
Change --host argument to --uri/--url
Also correct startup text terminology. Maintains --host as a hidden alias for the time being. Fixes #9
1 parent f45d5c3 commit f013e5d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/arg_parse.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,9 @@ EXAMPLE USE:
8989
.display_order(10))
9090
.arg(Arg::with_name("extra_hosts")
9191
.short("u")
92-
.long("host")
92+
.long("uri")
93+
.visible_alias("url")
94+
.alias("host")
9395
.value_name("host_uri")
9496
.help("Additional hosts to scan")
9597
.takes_value(true)

src/output.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ pub fn startup_text(global_opts: Arc<GlobalOpts>) {
189189
println!("Dirble {}", crate_version!());
190190
println!("Developed by Izzy Whistlecroft\n");
191191

192-
println!("Hosts: {}", global_opts.hostnames.clone().join(" "));
192+
println!("Targets: {}", global_opts.hostnames.clone().join(" "));
193193
println!("Wordlists: {}", global_opts.wordlist_files.clone().join(" "));
194194

195195
if global_opts.prefixes.len() == 1 && global_opts.prefixes[0] == "" {

0 commit comments

Comments
 (0)