|
|
@ -170,7 +170,9 @@ async fn normal(cfg: config::Config) -> eyre::Result<()>
|
|
|
|
|
|
|
|
|
|
|
|
async fn parse_mode() -> eyre::Result<()>
|
|
|
|
async fn parse_mode() -> eyre::Result<()>
|
|
|
|
{
|
|
|
|
{
|
|
|
|
match arg::parse_args().wrap_err(eyre!("Failed to parse args"))?
|
|
|
|
match arg::parse_args()
|
|
|
|
|
|
|
|
.wrap_err(eyre!("Failed to parse args"))
|
|
|
|
|
|
|
|
.with_suggestion(|| "Try `--help`")?
|
|
|
|
{
|
|
|
|
{
|
|
|
|
arg::Mode::Normal(cfg) => {
|
|
|
|
arg::Mode::Normal(cfg) => {
|
|
|
|
#[cfg(debug_assertions)] eprintln!("cfg: {:#?}", cfg);
|
|
|
|
#[cfg(debug_assertions)] eprintln!("cfg: {:#?}", cfg);
|
|
|
|