Comments (9)
Thank you for your issue! cc @qtfkwk it seems this is caused by your clap changes.
from tokei.
Can confirm @9SMTM6's error on a similar system (amd64 / debian). Looking into a fix now.
from tokei.
PR: #1139
from tokei.
I can confirm that this solves the issue cargo install --git https://github.com/qtfkwk/tokei.git --branch fix-issue-1138 tokei
. I'm gonna keep this open until merged and released in case others have issues. Feel free to close if preferred or if solved.
from tokei.
Found the same issue also affects the hidden
, languages
, no_ignore
, no_ignore_parent
, no_ignore_dot
, no_ignore_vcs
, and compact
options, since they are also flag options.
Have a working fix now. Submitting a PR momentarily.
from tokei.
Sorry about that! Please pull after the PR merges (or use my fork) and confirm if the issue is resolved. Thanks!
from tokei.
oh ... I was coming here to say this ... I get the same.
But, I'll leave the build warnings as well
warning: method `is_not_line_ending_whitespace` is never used
--> src/utils/ext.rs:5:8
|
3 | pub(crate) trait AsciiExt {
| -------- method in this trait
4 | fn is_whitespace(&self) -> bool;
5 | fn is_not_line_ending_whitespace(&self) -> bool;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: constant `FALLBACK_ROW_LEN` is never used
--> src/consts.rs:3:11
|
3 | pub const FALLBACK_ROW_LEN: usize = 81;
| ^^^^^^^^^^^^^^^^
warning: constant `LANGUAGE_COLUMN_WIDTH` is never used
--> src/consts.rs:6:11
|
6 | pub const LANGUAGE_COLUMN_WIDTH: usize = 10;
| ^^^^^^^^^^^^^^^^^^^^^
warning: constant `PATH_COLUMN_WIDTH` is never used
--> src/consts.rs:7:11
|
7 | pub const PATH_COLUMN_WIDTH: usize = 80;
| ^^^^^^^^^^^^^^^^^
warning: constant `FILES_COLUMN_WIDTH` is never used
--> src/consts.rs:8:11
|
8 | pub const FILES_COLUMN_WIDTH: usize = 8;
| ^^^^^^^^^^^^^^^^^^
warning: `tokei` (lib) generated 5 warnings
warning: field `verbose` is never read
--> src/cli.rs:55:9
|
38 | pub struct Cli {
| --- field in this struct
...
55 | pub verbose: u64,
| ^^^^^^^
|
= note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
= note: `#[warn(dead_code)]` on by default
warning: associated function `all` is never used
--> src/cli_utils.rs:114:12
|
104 | impl NumberFormatStyle {
| ---------------------- associated function in this implementation
...
114 | pub fn all() -> &'static [&'static str] {
| ^^^
warning: `tokei` (bin "tokei") generated 2 warnings
from tokei.
oh ... I was coming here to say this ... I get the same.
But, I'll leave the build warnings as well
Created a new issue for those: #1141
from tokei.
alpha3 solved this particular issue.
from tokei.
Related Issues (20)
- not a 時計 but 統計 HOT 2
- Hare & Headache conflict
- The value of `hidden` in the config file is not respected
- [Feature Request] Auto publish image to ghcr.io HOT 1
- self-hosting guidelines
- support for Mojo language
- Feature request: Filtering and piping
- tokei seems to be dramatically mis-estimating Go code
- Broken release action due to gitignore misconfiguration
- [Feature Request]: justfile
- Why tokei is 時計, not 統計? HOT 1
- Add `--num-format` option to configuration file
- Service is down
- Add support for Cangjie language(with PR) HOT 1
- WGSL and Metal aren't listed by tokei HOT 5
- Build warnings HOT 7
- Release v13.0.0-alpha.3 broken HOT 7
- --sort flag doesn't work. HOT 7
- Support Cairo language
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tokei.