Commit Graph

30 Commits

Author SHA1 Message Date
1dfb28028d Add GitHub workflow 2020-04-03 12:16:16 +02:00
154d15b890 Apply shellcheck and shfmt 2020-04-03 12:15:53 +02:00
d1fa399c86 Merge pull request #12 from matteodelabre/fix-destination-flag
Fix incorrect handling of flags
2020-04-02 16:39:55 +02:00
ac981508f7 Fix incorrect handling of flags
Previously, arguments were examined by a for loop, but this loop is not
affected by the `shift` commands executed inside of it.

Because the loop always advances one argument further on each iteration,
this bug goes unnoticed with the `--portrait` option (`shift` is called
once, which matches the behavior of the loop). However, handling of the
`--destination` argument is broken because of that (`shift` is called
twice but the loop only advances one argument).

This commit replaces the `for` loop by a `while` loop which always
examines the next argument and properly takes `shift`s into account.
This is based on the following SO answer:
<https://stackoverflow.com/a/7069755/3452708>
2020-04-02 16:17:21 +02:00
382944058e Add parameters to README, ssh timeout to 1s
Changed the README to reflect the command line options added with
bcf62e3. Also incorporates the SSH timeout of 1 second added by the
initial PR (#10).

Co-authored-by: Aaron David Schneider <aaron.david.schneider@gmail.com>
2020-04-02 14:20:48 +02:00
bcf62e3ae7 Merge pull request #11 from AaronDavidSchneider/detailed_options
add command-line options
2020-04-02 10:59:56 +02:00
8465062425 change name to -d 2020-04-02 10:23:58 +02:00
1f63880a8e add command-line options 2020-04-01 16:51:01 +02:00
2cc3f88274 Add -p flag functionality to README 2020-03-31 15:32:20 +02:00
f2ada8f208 Merge pull request #9 from beardhatcode/master
Add -p flag for portrait
2020-03-31 15:30:38 +02:00
0adb3e4fdc Add -p flag for portrait 2020-03-31 15:25:30 +02:00
e5edbed205 Simple troubleshooting stuff 2020-03-30 21:35:15 +02:00
1c917c1d14 Clarify SSH key setup 2020-03-30 21:33:44 +02:00
f3f5dd40fa SSH key and ssh-agent instructions 2020-03-30 14:54:16 +02:00
53051fbdf5 Add instructions to make lz4 executable 2020-03-25 16:33:22 +01:00
8ca1557e7b Replace which zstd by which lz4 (forgotten)
Fixes #5. Thanks @chkgk!
2020-03-18 16:19:12 +01:00
51d608cbd5 Update README with change to lz4 2020-03-18 00:19:28 +01:00
9f6ba5dd1d Use lz4 instead of zstd, add prebuilt static library 2020-03-17 23:44:55 +01:00
c9af230f3a Update README.md
Add instructions to fix zstd
2020-03-12 11:25:47 +01:00
726d0842f8 Update README
- add installation instructions
- remove mention of script copying zstd
2020-03-12 08:43:17 +01:00
d0c5ffe9e1 Search for zstd in home directory
This is possibly a solution for #2.
2020-03-12 08:29:19 +01:00
cf96c489eb Rename zstd arm executable
`which zstd` would wrongly find zstd on host because the arm binary has
the same name. As suggested by #1 we rename the binary to zstd.arm.

Fixes #1
2020-03-12 08:26:28 +01:00
b2b37607f1 Add demo 2020-03-12 00:29:18 +01:00
eb034a63bd Better documentation 2020-03-12 00:17:13 +01:00
b638810082 Use the default SSH host location, also test if zstd is present on host 2020-03-02 09:34:16 +01:00
98709fc0c4 Fix landscape_param 2020-02-24 09:30:12 +01:00
7558b0935a Graceful fallback to gzip if zstd is not present 2020-02-12 14:47:52 +01:00
0cdbae1cb2 Add installation instructions 2020-02-12 13:51:59 +01:00
fe77c2cd58 Add README 2020-02-12 13:19:06 +01:00
b52f9afc28 Create reStream.sh 2020-02-12 13:13:14 +01:00