ckb-cli icon indicating copy to clipboard operation
ckb-cli copied to clipboard

interactive mode ignored cli flag

Open fgfm999 opened this issue 3 years ago • 1 comments

when using the interactive mode , the FLAG options are ignored eg:

root@6fb00f2fd2f2:~# ckb-cli --no-sync

  _   _   ______   _____   __      __   ____     _____
 | \ | | |  ____| |  __ \  \ \    / /  / __ \   / ____|
 |  \| | | |__    | |__) |  \ \  / /  | |  | | | (___
 | . ` | |  __|   |  _  /    \ \/ /   | |  | |  \___ \
 | |\  | | |____  | | \ \     \  /    | |__| |  ____) |
 |_| \_| |______| |_|  \_\     \/      \____/  |_____/

[  ckb-cli version ]: 0.100.0 (3d23e8b 2021-09-15)
[              url ]: http://127.0.0.1:8114 (network: Dev)
[              pwd ]: /root
[            color ]: true
[            debug ]: true
[          no-sync ]: false
[    output format ]: yaml
[ completion style ]: List
[       edit style ]: Emacs
[   index db state ]: Waiting for first query

the no-sync option still false. I found I can change this using config --no-sync or edit the config file . IMHO, the command line flag should override the config file

fgfm999 avatar Jan 26 '22 07:01 fgfm999

I think the config in interactive mode should reflected the config file. Interactive mode should not passing any arguments.

TheWaWaR avatar Jul 05 '22 08:07 TheWaWaR

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Jul 28 '24 01:07 github-actions[bot]

This issue was closed because it has been stalled for 5 days with no activity.

github-actions[bot] avatar Aug 03 '24 01:08 github-actions[bot]