diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-07-17 09:08:37 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-07-17 09:08:37 +0300 |
commit | 7b3a9fbef2c28a6ea7c2b5a49f8a130f4d1bf05f (patch) | |
tree | e4ef82f8cfc3a9f33848645fb3d8715f20a43ecc /bin | |
parent | 708bfcffd76ea0665796bce02dd7c887af37e77e (diff) | |
download | arching-kaos-tools-7b3a9fbef2c28a6ea7c2b5a49f8a130f4d1bf05f.tar.gz arching-kaos-tools-7b3a9fbef2c28a6ea7c2b5a49f8a130f4d1bf05f.tar.bz2 arching-kaos-tools-7b3a9fbef2c28a6ea7c2b5a49f8a130f4d1bf05f.zip |
ak-schain: -l | --get-latest
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ak-schain | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/ak-schain b/bin/ak-schain index 9fa41b0..5d4a442 100755 --- a/bin/ak-schain +++ b/bin/ak-schain @@ -8,6 +8,10 @@ ## ## -c, --crawl Crawl an schain or latest known ## +## -l, --get-latest Returns latest sblock from saved sblocks. The +## latest sblock would belong to the longest +## schain if more than one schains found. +## fullprogrampath="$(realpath $0)" PROGRAM=$(basename $0) descriptionString="Schain tools" @@ -22,6 +26,7 @@ then case $1 in -h | --help) _ak_usage; exit;; -c | --crawl) shift; _ak_schain_crawl_interface $*; exit;; + -l | --get-latest) _ak_schain_get_latest; exit;; * ) _ak_usage;; esac else _ak_usage |