From 7b7e26fb444b488bc2fb6167a68079e228504193 Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Sat, 26 Apr 2025 21:27:03 -0700 Subject: cli option to set ssh destination --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 040e3ea..d7a7d7f 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,26 @@ work in progress build, install, and run using `make`: -``` +```sh make sudo make install remote_plot ``` build and run without make: -``` +```sh cc -Wall $(pkg-config --cflags --libs libssh plplot gtk4) -lm -o remote_plot remote_plot.c ./remote_plot ``` +usage +```sh +# use default ssh destination +./remote_plot +# use another ssh destination +./remote_plot -d 10.0.0.7 +``` + infrastructure configs not included yet: - raspberry pi: - /etc/wireguard/wg0.conf wireguard config -- cgit v1.2.3-70-g09d2