Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add flag to censor long display names #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

jedkohjk
Copy link
Owner

Proposed commit message

Add flag to truncate long display names

Other information

Use the flag --censor-name or -C to use this feature. It takes in 2 parameters, which represent the number of characters shown at the front and at the end of a name respectively. The rest of the name will be truncated. Truncated portions are replaced with ...

Command (without truncation): ./gradlew run -Dargs="--repos https://github.com/reposense/RepoSense.git --output ./report_folder --since 31/1/2017 --formats java adoc xml --view --ignore-standalone-config --last-modified-date --timezone UTC+08 --find-previous-authors"

Without

Command (with truncation): ./gradlew run -Dargs="--repos https://github.com/reposense/RepoSense.git --output ./report_folder --since 31/1/2017 --formats java adoc xml --view --ignore-standalone-config --last-modified-date --timezone UTC+08 --find-previous-authors --censor-name 4 3"

With

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant