Skip to content

Program terminated!?!? #8

Description

@RobThree

Running ./creatDb for the first time I encountered a Program Terminated! message. I thought something was wrong. I had to go have a look at the source code only to find out that that's the message it outputs when it's done. Maybe change the message to Completed or Done or something?

Also: maybe a few lines of output during operation when a verbose flag (-v for example) is passed ("Doing X...", "Doing Y...") would be nice; that way you know something is still going on. Some output could be done in delegParser ("Parsing afrinic...", "Parsing lacnic..."), then something like "Sorting list...", then "Checking for and fixing overlaps...", .... and finally "Building ip2country.db".

eg:

$ ./createDb
Parsing afrinic
Parsing lacnic
Parsing arin
Parsing apnic
Parsing ripencc
Reading and sorting data
Checking for and fixing overlaps
Reading and sorting final version
Done!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions