Skip to content

Commit

Permalink
Display help when no options are specified, bump version to 0.1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
camden-smallwood committed Nov 6, 2023
1 parent d90395e commit 22c6d08
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sway-analyzer"
version = "0.1.5"
version = "0.1.6"
edition = "2021"
license-file = "LICENSE"
description = "A security-focused static analyzer for Sway written in Rust."
Expand Down
5 changes: 3 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ pub mod utils;
pub mod visitor;

use error::Error;
use project::{Project, DisplayFormat};
use project::{DisplayFormat, Project};
use report::Sorting;
use std::path::PathBuf;
use structopt::StructOpt;
use structopt::{clap::AppSettings, StructOpt};

#[derive(Default, StructOpt)]
#[structopt(global_settings = &[AppSettings::ColoredHelp, AppSettings::ArgRequiredElseHelp])]
struct Options {
/// The display format of the report. Can be "Text" or "Json". (Default = Text)
#[structopt(long)]
Expand Down

0 comments on commit 22c6d08

Please sign in to comment.