Skip to content

Commit

Permalink
cli
Browse files Browse the repository at this point in the history
  • Loading branch information
rsuu committed Mar 10, 2023
1 parent 9b08d1d commit 74fa1ee
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 20 deletions.
16 changes: 8 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 20 additions & 12 deletions src/config/rsconf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -578,27 +578,35 @@ rmg {VERSION}
Tiny And Fast Manga/Image Viewer
USAGE:
rmg [OPTIONS] file
rmg [OPTIONS] [FLAGS] <path>
ARGS:
<path> A file or directory.
FLAGS:
--invert-mouse
e.g. rmg --invert-mouse true
--window-borderless
--window-topmost
--window-resize
--window-none
--invert-mouse [default: false]
e.g. rmg --invert-mouse true.
--window-borderless [default: false]
Display borderless.
--window-resize [default: false]
Resize window.
--window-topmost [default: false]
Set as topmost.
--window-none [default: true]
Set as transparency.
OPTIONS:
-h, --help
Prints help information
Prints help information.
-s, --size
Reset the width and the height of the buffer
Reset the width and the height of the buffer.
e.g. rmg --size 900x900
-c, --config
Specify the config file path
-m, --mode
(TODO)
Specify the config file path.
-p, --rename-pad
Pad filename.
-m, --mode
(TODO)
"#,
);
Expand Down
1 change: 1 addition & 0 deletions src/render/display.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ pub fn cat_img(
sys.physical_core_count().unwrap_or(1)
};


for _ in 0..num {
render::new_thread(&arc_task, &data);
}
Expand Down

0 comments on commit 74fa1ee

Please sign in to comment.