diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-06-11 18:19:39 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-06-11 18:19:39 +0200 |
commit | 286b742230cf2c1a0ac944ae2d01c3e0782d0017 (patch) | |
tree | 04cf477add9c9584ae428c08e40b611889a31988 /pkgs/by-name/ts/tskm/src/cli.rs | |
parent | modules/qutebrowser: Use the shell wrapper (diff) | |
download | nixos-config-286b742230cf2c1a0ac944ae2d01c3e0782d0017.zip |
pkgs/tskm/open: Allow opening multiple URLs at a time
Diffstat (limited to '')
-rw-r--r-- | pkgs/by-name/ts/tskm/src/cli.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/by-name/ts/tskm/src/cli.rs b/pkgs/by-name/ts/tskm/src/cli.rs index 90d6023b..23d9545f 100644 --- a/pkgs/by-name/ts/tskm/src/cli.rs +++ b/pkgs/by-name/ts/tskm/src/cli.rs @@ -126,8 +126,8 @@ pub enum OpenCommand { #[arg(value_parser = task::Project::from_project_string, add = ArgValueCompleter::new(complete_project))] project: task::Project, - /// The URL to open. - url: Option<Url>, + /// The URLs to open. + urls: Option<Vec<Url>>, }, /// Open a selected project in it's Qutebrowser profile. @@ -135,8 +135,8 @@ pub enum OpenCommand { /// This will use rofi's dmenu mode to select one project from the list of all registered /// projects. Select { - /// The URL to open. - url: Option<Url>, + /// The URLs to open. + urls: Option<Vec<Url>>, }, /// List all open tabs in the project. |