mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:48:12 +00:00
Browser+Base: Allow opening multiple URLs at once from command line
This lets you run `br example.com wikipedia.org some/local/file.html` in one go and have them all opened as tabs.
This commit is contained in:
parent
9df81e20d7
commit
913412e0c5
2 changed files with 20 additions and 16 deletions
|
@ -7,9 +7,7 @@
|
|||
## Synopsis
|
||||
|
||||
```**sh
|
||||
$ Browser
|
||||
$ Browser [options]
|
||||
$ Browser [url]
|
||||
$ Browser [options] [urls]
|
||||
```
|
||||
|
||||
## Description
|
||||
|
@ -23,7 +21,7 @@ $ Browser [url]
|
|||
|
||||
## Arguments
|
||||
|
||||
* `url`: URL to open
|
||||
* `urls`: A list of urls to open, one per tab. If none are specified, then the homepage will be opened instead.
|
||||
|
||||
## Examples
|
||||
|
||||
|
@ -31,4 +29,5 @@ $ Browser [url]
|
|||
$ Browser
|
||||
$ Browser --help
|
||||
$ Browser https://serenityos.org/
|
||||
$ Browser https://serenityos.org/ /res/html/misc/welcome.html github.com/serenityos/serenity
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue